Map Size | MAP_SIZE
Syntax
MAP_SIZE( [value] )
Parameters
value
A MAP / OBJECT.
Return Value
Returns the number of entries in the VALUEDescription
Get the count of the entries in a MAP / OBJECT.Examples
# VALUE is ["a" => 1, "b" => 2]
MAP_SIZE(VALUE) # returns 2