up.util up.util.some(list, tester)
JavaScript function

Returns whether the given function returns a truthy value for any element in the given array-like value.


Parameters

list
required
Type: List
tester
required

A function that will be called with each element and (optional) iteration index.

Type: Function(value, index): boolean

Return value

Type: boolean