Collection extensions

any

collection · standard futureprog, computer function, computer program

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.

← Back to Collection extensions