Edit this page

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

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

Function(element, index): boolean

Return value

boolean