Removes "holes" (undefined
elements) from the array making it compact/dense.
Must call Format.Config.addUtilsToGlobals to be defined.
The type of elements in the array.
An array instance.
The same array instance without undefined
elements.
Returns elements from a sequence as long as the specified condition is true
.
Must call Format.Config.addUtilsToGlobals to be defined.
The type of elements in the array.
An array instance.
A function to test each source element for a condition; the second parameter of the function represents the index of the source element.
A source element that is tested for a condition.
The index of the source element.
A new array instance containing only items for which the predicate function returned true
.
Generated using TypeDoc
Extends the built-in javascript
Array
object's static API.The Format.Config.addUtilsToGlobals method must be called in order to access the definitions.