Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
Reverse
Type Alias Reverse<A>
Reverse
<
A
>
:
number
extends
A
[
"length"
]
?
A
:
A
[
"length"
]
extends
0
?
A
:
A
[
"length"
]
extends
1
?
A
:
A
extends
[
any
,
...
(
infer
T
)
]
?
T
extends
any
[]
?
[
...
Reverse
<
T
>
,
A
[
0
]
]
:
never
:
never
⚗️
transform
reverses the order of
A
.
Type Parameters
A
extends
unknown
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
⚗️ transform
reverses the order of
A
.