UNPKG

pixi.js

Version:

PixiJS — The HTML5 Creation Engine =============

9 lines (8 loc) 332 B
/** * nulls all slots in an array from a certain index. * assume that when a null item is hit, the rest are also null. * Which will be the case for where this is used! * @param list - the array to clean * @param index - the index to start from */ export declare function clearList(list: Array<unknown>, index?: number): void;