pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
11 lines (10 loc) • 364 B
TypeScript
/**
* 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
* @category utils
* @internal
*/
export declare function clearList(list: Array<unknown>, index?: number): void;