FunctionsObject Functions
$objectKeyExists
Checks if given key is present in the object. Returns true or false.
Usage
$objectKeyExists[Key;...]- Key(s) - Key to check it's existence. You can put as many nested keys as needed.
Example
Using $objectKeyExists
How to check if name key exists
!!exec $objectSet[name;Mido] $objectKeyExists[name]
true
!!exec $objectSet[username;mido] $objectKeyExists[name]
false
Related Functions: $objectKeys $objectCreate $objectSet
Function Difficulty: Easy
Tags: Object Key