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
required
tester
required

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

Function(value, index): boolean

Return value

boolean