Return max value in array, depending on result of calling fn
fn
var objects = [{ 'n': 1 }, { 'n': 2 }]; maxBy(o => o.n, objects); //=> { 'n': 2 }
The function invoked per element.
Returns the maximum value.
Generated using TypeDoc
Return max value in array, depending on result of calling
fn