UNPKG

typed-array-interleave

Version:
15 lines (14 loc) 508 B
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;