max method
N
max({
- required N ifEmpty,
Returns the greater value in this iterable. If the iterable is empty, this function returns the specified ifEmpty parameter.
Implementation
N max({
required N ifEmpty,
}) =>
isEmpty ? ifEmpty : reduce(math.max);