@writetome51/array-get-and-remove-filtered-results
Receives a test function and both removes and returns resulting items that pass test.
Receives a test function and both removes and returns resulting items that pass test.
Function removes the requested item from the array and returns it
Removes and returns items from array, identified by their indexes
Removes and returns middle section of an array
array-handling functions that remove and return data from the array
array-handling functions that remove and return data from the array
Function returns middle section of array
Returns multiple items from array, identified by their indexes. Does not modify array
array-handling functions that return indexes of items in the array
Simply returns 1 item from the array
Removes and returns middle section of an array
Similar to Array.prototype.filter(), except it lets you customize what value to get from the element that passes test
array-handling functions that return data from the array but do not modify the array
Similar to Array.filter(), except it returns array of objects representing each filtered item
Returns every item in array without any duplicates
These functions remove all items that come either before or after a certain value in the array.
2 functions that remove all items that come before a certain value in the array.
Functions that search for instances of a value in an array and remove them.
Function removes chunk of adjacent items from the middle of the array
Removes items from array, identified by indexes