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

Returns whether the given function returns a truthy value for all elements in the given list or iterator.


Parameters

list
required
Type: List | Iterator
tester
required

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

Type: Function(element, index): boolean

Return value

Type: boolean