<!-- 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; [fill](./rc-js-util.atypedarraytuple.fill.md)

## ATypedArrayTuple.fill() method

Returns the this object after filling the section identified by start and end with value

**Signature:**

```typescript
fill(_value: number, _start?: number, _end?: number): this;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

\_value


</td><td>

number


</td><td>

value to fill array section with


</td></tr>
<tr><td>

\_start


</td><td>

number


</td><td>

_(Optional)_ index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.


</td></tr>
<tr><td>

\_end


</td><td>

number


</td><td>

_(Optional)_ index to stop filling the array at. If end is negative, it is treated as length+end.


</td></tr>
</tbody></table>
**Returns:**

this

