Edit this page

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 List
tester Function(value, index): boolean

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

Return value

boolean