$isInteger
$isInteger
will check if the given number is an integer or not.
Usage
$isInteger[number]
Parameters
Field | Type | Description | Required |
---|---|---|---|
number | number | Number you want to check if its an number or not. | true |
Example(s)
This checks if your message contains an integer and returns true
or false
:
1client.command({2 name: "isInteger",3 code: `4 $isInteger[$message]5 `6});