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.
13 lines (7 loc) • 336 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [TUnpackIfArray](./rc-js-util.tunpackifarray.md)
## TUnpackIfArray type
**Signature:**
```typescript
export type TUnpackIfArray<T> = T extends ArrayLike<infer U> ? U : never;
```