Returns the maximum element of the specified array or vector,
according to the comparison rules described in compare()
function.
If the passed parameter is null
,
the returned result will be null
.
See Also:
compare(), minElement()
Tip:
You may call this function in a method-like style:
a.maxElement() v.maxElement()