src code

instance method Enumerable#any

Enumerable#any([iterator = Prototype.K[, context]]) → Boolean

Determines whether at least one element is boolean-equivalent to true, either directly or through computation by the provided iterator.

Aliased as: Enumerable#some