def
func:max
max(val, acc)
Compare two numbers and return the larger one. This function may also be used with fold()
to return the largest number (or null if no values). Note number units are not checked nor considered for the comparison.
Examples:
max(7, 4) >> 7 [7, 2, 4].fold(max) >> 7