$min
$min
returns the smallest number from the provided numbers.
Usage
$min[...numbers]
Parameters
Field | Type | Description | Required |
---|---|---|---|
numbers | number | The numbers where the smallest number will be searched. | true |
Example(s)
This will return 5
since its the smallest number provided:
1client.command({2 name: "min",3 code: `$min[17;42;91;5;63;28;55;10;77;36]`4});