Skip to content

$isVariableExist

$isVariableExist checks if a given variable exists in a given table.

Usage

$isVariableExist[variable;table?]

Parameters

FieldTypeDescriptionRequired
variablestringThe variable name.true
table?stringThe table name.false

Example(s)

This will either true or false depending on if a variable called Example exists:

1
client.command({
2
name: "isVariableExist",
3
code: `
4
$isVariableExist[Example;main]
5
`
6
});