@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
12 lines • 700 B
TypeScript
/**
* Copy data from one array to another if they are not present in the destination array
* @template T
* @param {T[]} source The source array
* @param {number} source_position Starting position where to copy from inside the source array
* @param {T[]} destination The destination array
* @param {number} destination_position Starting position where to copy to inside the destination array
* @param {number} length How many elements should be copied
* @returns {number} unique addition count
*/
export function array_copy_unique<T>(source: T[], source_position: number, destination: T[], destination_position: number, length: number): number;
//# sourceMappingURL=array_copy_unique.d.ts.map