@arcmantle/library
Preparing search index...
types/union.types
LastInUnion
Type Alias LastInUnion<U>
LastInUnion
:
UnionToIntersection
<
U
extends
unknown
?
(
x
:
U
)
=>
0
:
never
>
extends
(
x
:
infer
L
,
)
=>
0
?
L
:
never
LastInUnion<1 | 2> = 2
Type Parameters
U
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@arcmantle/library
Loading...
LastInUnion<1 | 2> = 2