@newdash/newdash
Version:
javascript/typescript utility library
12 lines (11 loc) • 381 B
TypeScript
export default basePullAt;
/**
* The base implementation of `pullAt` without support for individual
* indexes or capturing the removed elements.
*
* @private
* @param {Array} array The array to modify.
* @param {number[]} indexes The indexes of elements to remove.
* @returns {Array} Returns `array`.
*/
declare function basePullAt(array: any[], indexes: number[]): any[];