min

Returns the smallest number in the given arguments.

Accepts int and float.

Examples

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

Last updated