Skip to main content

keys (Function)

Function to return the keys of the map as a list.

Syntax

<OBJECT> map:keys(<OBJECT> map)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
mapThe map from which list of keys to be returned.OBJECTNoYes

Example 1

map:keys(stockDetails)

Returns keys of the stockDetails map.