set.any()
Description
Tests if any element of the calling Set matches a provided predicate function.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
predicate |
true |
Anonymous predicate function that:
The method returns true if the predicate is true for any element in the Set. |