pixi-jsFunctions
Function: clearList()
> clearList(list, index?): void
Defined in: node_modules/pixi.js/lib/scene/container/utils/clearList.d.ts:10
Internal
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!
Parameters
list
unknown[]
the array to clean
index?
number
the index to start from
Returns
void