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.
Returns a unique reduced set of values.
Returns the first index of which the provided predicate returns true. Returns -1 if always false.
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.
Allows for using "false" to cause forEach to break. Can also be applied to a structure that indexes like an array, but may not be.
Checks to see where the provided array contains an item/value. If the array value is null, then -1 is returned.
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.