Skip to content

$getObjectKeys

$getObjectKeys will return all keys of all properties within the given object.

Usage

$getObjectKeys[objectName;separator?]

Parameters

FieldTypeDescriptionRequired
objectNamestringName of the object.true
separator?stringThe separator.true

Example(s)

This will return Leref and dbd.js:

1
client.command({
2
name: "getObjectKeys",
3
code: `
4
$getObjectKeys[Object Name; ]
5
$createObject[Object Name;{
6
"Leref": "Ferel",
7
"dbd.js": "aoi.js"
8
}]
9
`
10
});