Skip to content

$min

$min returns the smallest number from the provided numbers.

Usage

$min[...numbers]

Parameters

FieldTypeDescriptionRequired
numbersnumberThe numbers where the smallest number will be searched.true

Example(s)

This will return 5 since its the smallest number provided:

1
client.command({
2
name: "min",
3
code: `$min[17;42;91;5;63;28;55;10;77;36]`
4
});