@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
11 lines • 416 B
TypeScript
/**
* Remove first occurrence of element from the array
* @template T
* @param {T[]} array
* @param {T} element
* @param {number} [start_index]
* @param {number} [length]
* @return {boolean} true if element was removed, false if it was not found
*/
export function array_remove_first<T>(array: T[], element: T, start_index?: number, length?: number): boolean;
//# sourceMappingURL=array_remove_first.d.ts.map