Returns the maximum value of a given path
max([{a: 1}, {a: 2}, {a: 3}], 'a'); // 3
max([{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}], 'a.b'); // 3
Optional
max([1, 2, 3]); // 3
Generated using TypeDoc
Returns the maximum value of a given path
Example
Example