Skip to main content

isEmpty (Function)

Function checks if the map is empty.

Syntax

<BOOL> map:isEmpty(<OBJECT> map)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
mapThe map the need to be checked whether it's empty or not.OBJECTNoYes

Example 1

map:isEmpty(stockDetails)

Returns true if the stockDetails map is empty else it returns false.