Clears (sets to null) values of an array across a range of indexes.
Checks to see if the provided array contains an item. If the array value is null, then false is returned.
Copies one array to another.
An optional limit to stop copying.
The destination array.
Returns a unique reduced set of values.
Takes any arrays within an array and inserts the values contained within in place of that array. For every count higher than 0 in recurseDepth it will attempt an additional pass. Passing Infinity will flatten all arrays contained.
Checks to see where the provided array contains an item/value. If the array value is null, then -1 is returned.
Initializes an array depending on the requested capacity. The returned array will have a .length equal to the value provided.
Returns a range of numbers based upon the first value and the step value.
Returns a range of numbers based upon the first value and the step value excluding any numbers at or beyond the until value.
Ensures a value exists within an array. If not found, adds to the end.
Finds and removes a value from an array. Will remove all instances unless a maximum is specified.
The number of times the value was found and removed.
Removes an entry at a specified index.
True if the value was able to be removed.
Simply repeats a value the number of times specified.
Finds and replaces a value from an array. Will replaces all instances unless a maximum is specified.
Replaces values of an array across a range of indexes.
Generated using TypeDoc
Is similar to Array.map() but instead of returning a new array, it updates the existing indexes. Can also be applied to a structure that indexes like an array, but may not be.