max

Returns the largest number in the given arguments.

Accepts int and float.

Examples

max(1, 2, 3) // 3
[1, 2, 3].max($this...) // 3

Last updated