Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
TuplePlus
DropMatch
Type Alias DropMatch<A, Criteria>
Drop
Match
<
A
,
Criteria
>
:
A
[
"length"
]
extends
0
?
A
:
A
extends
readonly
[
infer
Head
,
...
(
infer
Tail
)
]
?
Tail
[
"length"
]
extends
0
?
undefined
extends
Criteria
?
ExcludeUnionOfEmptyTuple
<
Head
extends
Criteria
?
[
]
:
[
Head
]
>
:
ExcludeUnionOfEmptyTuple
<
Head
extends
Criteria
?
[
]
:
[
Head
]
>
:
Exclude
<
Head
,
Criteria
>
extends
never
?
TuplePlus
.
DropMatch
<
Tail
,
Criteria
>
:
[
Exclude
<
Head
,
Criteria
>
,
...
TuplePlus
.
DropMatch
<
Tail
,
Criteria
>
]
:
never
[]
Type Parameters
A
extends
Readonly
<
unknown
[]
>
Criteria
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...