Skip to content

max_by

Signature

max_by(array, expref)

Description

Returns the highest found element using a custom expression to compute the associated value for each element in the input array.

Examples

TODO