Edit this page

up.util up.util.flatMap(list, mapping)
JavaScript function

Maps each element using a mapping function, then flattens the result into a new array.


Parameters

list
required
ListIterator
mapping
required
Function(element)

Return value