js-util

Home > rc-js-util > ATypedArrayTuple > set

ATypedArrayTuple.set() method

Sets a value or an array of values.

Signature:

set(_array: ArrayLike<number>, _offset: number): void;

Parameters

Parameter Type Description
_array ArrayLike<number> A typed or untyped array of values to set.
_offset number The index in the current array at which the values are to be written.

Returns:

void