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 array-like value.

Parameters

list List
tester Function(element, index): boolean

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

Return value

boolean
This website uses cookies to improve usability and analyze traffic.
I accept or learn more