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.
52 lines (25 loc) • 858 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [getNumberSpecialization](./rc-js-util.getnumberspecialization.md)
## getNumberSpecialization() function
Given a Typed array constructor, get back the associated [StableId](./rc-js-util.stableid.md)<!-- -->.
**Signature:**
```typescript
export declare function getNumberSpecialization(ctor: TFullSetTypedArrayCtor): IdSpecialization;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
ctor
</td><td>
[TFullSetTypedArrayCtor](./rc-js-util.tfullsettypedarrayctor.md)
</td><td>
</td></tr>
</tbody></table>
**Returns:**
[IdSpecialization](./rc-js-util.idspecialization.md)