typed-array-interleave
Version:
Interleave n typed arrays.
15 lines (14 loc) • 508 B
TypeScript
export default typedArrayInterleave;
/**
* @module typedArrayInterleave
*/
/**
* Interleave n typed arrays
*
* @alias module:typedArrayInterleave
* @param {TypedArray} ResultConstructor Returned typed array constructor
* @param {Array} elements Number of elements to group for each typed array
* @param {...TypedArray} arrays Arrays to interleave
* @returns {TypedArray}
*/
declare function typedArrayInterleave(ResultConstructor: TypedArray, elements: any[], ...arrays: TypedArray[]): TypedArray;