$keys
The$keys operator returns an array of all keys in an object/map.
Input
- A single object/map value
Output
- An array containing all the keys of the input object
Examples
Get Keys from Object
["name", "age", "city"]
$keys operator returns an array of all keys in an object/map.
["name", "age", "city"]