$objectExists
$objectExists
will check if a given object exists.
Usage
$objectExists[objectName]
Parameters
Field | Type | Description | Required |
---|---|---|---|
objectName | string | The object name. | true |
Example(s)
This will return true as the object exists created by $createObject
:
1client.command({2 name: "objectExists",3 code: `4 $objectExists[Object Name]5 $createObject[Object Name;{"Leref": "Ferel"}]6 `7});