minByArray

Returns the item with the minimum value in an array based on the given key.

Code

Example Value

Output
Name: MaxAge: 20