Skip to main content

containsAll (Function)

Function checks whether the list contains all the values in the given list.

Syntax

<BOOL> list:containsAll(<OBJECT> list, <OBJECT> given.list)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
listThe list that needs to be checked on whether it contains all the values or not.OBJECTNoYes
given.listThe list which contains all the values to be checked.OBJECTNoYes

Example 1

list:containsAll(stockSymbols, latestStockSymbols)

Returns true if the stockSymbols list contains values in latestStockSymbols else it returns false.