$isNumber
$isNumber
will check if the given argument is a number.
Usage
$isNumber[num]
Parameters
Field | Type | Description | Required |
---|---|---|---|
num | number | Argument you want to check if its a number. | true |
Example(s)
This will return true
as 255
is a valid number:
1client.command({2 name: "isNumber",3 code: `4 $isNumber[255]5 `6});