Home > rc-js-util > ATypedArrayTuple > subarray
Gets a new this view of the ArrayBuffer store for this array, referencing the elements at begin, inclusive, up to end, exclusive.
Signature:
subarray(_begin: number, _end?: number): TDecayedTypedArrayTuple;
Parameter | Type | Description |
---|---|---|
_begin | number | The index of the beginning of the array. |
_end | number | (Optional) The index of the end of the array. |
Returns: