Edit this page

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

Returns all elements from the given array-like value that return a truthy value when passed to the given function.

Parameters

list List
tester Function(value, index): boolean

Return value

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