Skip to content

$objectExists

$objectExists will check if a given object exists.

Usage

$objectExists[objectName]

Parameters

FieldTypeDescriptionRequired
objectNamestringThe object name.true

Example(s)

This will return true as the object exists created by $createObject:

1
client.command({
2
name: "objectExists",
3
code: `
4
$objectExists[Object Name]
5
$createObject[Object Name;{"Leref": "Ferel"}]
6
`
7
});