$isVariableExist
$isVariableExist
checks if a given variable exists in a given table.
Usage
$isVariableExist[variable;table?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
variable | string | The variable name. | true |
table? | string | The table name. | false |
Example(s)
This will either true or false depending on if a variable called Example
exists:
1client.command({2 name: "isVariableExist",3 code: `4 $isVariableExist[Example;main]5 `6});