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.

16 lines (9 loc) 498 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; [TExtractIndexes](./rc-js-util.textractindexes.md) ## TExtractIndexes type Extract numerical indexes out of a type, if there aren't any fallback to number. **Signature:** ```typescript export type TExtractIndexes<T> = TNeverFallback<Extract<keyof T, number>, number>; ``` **References:** [TNeverFallback](./rc-js-util.tneverfallback.md)