Skip to content

MinimalBy

Returns the element(s) minimising a key function.

$ wo 'MinimalBy[{-1, 2, 3, -2}, Abs]'
{-1}