UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

70 lines (33 loc) 890 B
<!-- 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.md) ## ATypedArrayTuple.set() method Sets a value or an array of values. **Signature:** ```typescript set(_array: ArrayLike<number>, _offset: number): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> \_array </td><td> ArrayLike&lt;number&gt; </td><td> A typed or untyped array of values to set. </td></tr> <tr><td> \_offset </td><td> number </td><td> The index in the current array at which the values are to be written. </td></tr> </tbody></table> **Returns:** void