Edit this page

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

This feature is experimental. It may be changed or removed in a future version.

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


list ListorIterator
tester Function(element, index): boolean

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

Return value