Edit this page

up.util up.util.compact(list)
JavaScript function

Returns all elements from the given list that are neither null or undefined.

Parameters

list List<T>

Return value

Array<T>