Skip to content

$getObject

$getObject will return the previously created object.

Usage

$getObject[objectName;format?]

Parameters

FieldTypeDescriptionRequired
objectNamestringThe object name.true
format?booleanFormat the output?
1. true (default) 2. false
false

Example(s)

This will return the object created in $createObject:

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