IEnumerable.max Method

Returns the maximum value in a sequence of (possibly null) values.
 

Parameters

selector

Type: Function
A transform function to apply to each element.
Optional: True

Return Value


Type: Number - May be null
The maximum value in the sequence.