Skip to main content

isMap (Function)

Function checks if the object is type of a map.

Syntax

<BOOL> map:isMap(<OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> arg)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
argThe argument the need to be determined whether it's a map or not.OBJECT INT LONG FLOAT DOUBLE FLOAT BOOL STRINGNoYes

Example 1

map:isMap(stockDetails)

Returns true if the stockDetails is and an instance of java.util.Map else it returns false.