Edit this page

up.util up.util.each(list, block)
JavaScript function

Calls the given function for each element (and, optional, index) of the given list or iterator.

Parameters

list ListorIterator
block Function(element, index)

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