<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [ATypedArrayTuple](./rc-js-util.atypedarraytuple.md) &gt; [set](./rc-js-util.atypedarraytuple.set_1.md)

## ATypedArrayTuple.set() method

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:**

```typescript
set(_array: TTupleLikeOfLength<number, TLength>): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

\_array


</td><td>

[TTupleLikeOfLength](./rc-js-util.ttuplelikeoflength.md)<!-- -->&lt;number, TLength&gt;


</td><td>

A tuple of size equal to that which is being set.


</td></tr>
</tbody></table>
**Returns:**

void

