Collection extensions

all

collectionstandard futureprog, computer function, computer program

Syntax

@CollectionVariable.all(ItemVariableName, InnerFunction)
Returns
Boolean
Available in
standard futureprog, computer function, computer program
The ALL function runs the supplied inner function (which itself returns a boolean value) over all elements of a collection, and returns true if all the items return true. Otherwise, returns false. Also returns true if there are no elements.