Collection extensions
any
Returns: Boolean
The ANY function runs the supplied inner function (which itself returns a boolean value) over all elements of a collection, and returns true if any of the items return true. Otherwise, returns false. Returns false if there are no elements.
The ANY function runs the supplied inner function (which itself returns a boolean value) over all elements of a collection, and returns true if any of the items return true. Otherwise, returns false. Returns false if there are no elements.