Home > rc-js-util > ATypedArrayTuple > set
Sets a value or an array of values. Where an offset is not provided the array must be a tuple of the same length. To perform a partial write from the start of the array, set an offset of 0.
Signature:
set(_array: TTupleLikeOfLength<number, TLength>): void;
Parameter | Type | Description |
---|---|---|
_array | TTupleLikeOfLength<number, TLength> | A tuple of size equal to that which is being set. |
Returns:
void