keys (Function)
Function to return the keys of the map as a list.
Syntax
<OBJECT> map:keys(<OBJECT> map)
Query Parameters
Name | Description | Default Value | Possible Data Types | Optional | Dynamic |
---|---|---|---|---|---|
map | The map from which list of keys to be returned. | OBJECT | No | Yes |
Example 1
map:keys(stockDetails)
Returns keys of the stockDetails
map.