Skip to main content

isEmpty (Function)

Function checks if the list is empty.

Syntax

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

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
listThe list that needs to be checked whether it's empty or not.OBJECTNoYes

Example 1

list:isEmpty(stockSymbols)

Returns true if the stockSymbols list is empty, else it returns false.