Checks if any element in the given iterable satisfies the given condition.
If the condition is a value, this becomes an includes() function.
includes()
The iterable or async iterable to check.
The condition to satisfy.
Returns true if any element satisfies the condition, otherwise false.
// Returns trueit.all([1, 20], x => x < 10) Copy
// Returns trueit.all([1, 20], x => x < 10)
Checks if any element in the given iterable satisfies the given condition.
If the condition is a value, this becomes an
includes()
function.