$isValidObject
$isValidObject checks if the given json is a valid object.
Usage
$isValidObject[object]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| object | object | JSON object. | true |
Example(s)
This will return true as the given object is a valid JSON object:
1client.command({2 name: "isValidObject",3 code: `4 $isValidObject[{"name":"Leref", "aoijs":"nice"}]5 `6});