UNPKG

@pixi/utils

Version:

Collection of utilities used by PixiJS

10 lines (9 loc) 374 B
/** * Remove items from a javascript array without generating garbage * @function removeItems * @memberof PIXI.utils * @param {Array<any>} arr - Array to remove elements from * @param {number} startIdx - starting index * @param {number} removeCount - how many to remove */ export declare function removeItems(arr: any[], startIdx: number, removeCount: number): void;