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.

18 lines (10 loc) 590 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; [Range2d](./rc-js-util.range2d.md) &gt; [castToBaseType](./rc-js-util.range2d.casttobasetype.md) ## Range2d.castToBaseType() method Although the typed array tuples extend a typed array, they are not structurally compatible. This function returns the argument passed without modification but cast as the underlying storage type, e.g. Float32Array. **Signature:** ```typescript castToBaseType(): TArray; ``` **Returns:** TArray