Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
$IsDistributive
Type Alias $IsDistributive<$Options, $O>
$
Is
Distributive
<
$Options
,
$O
>
:
$ResolveOptions
<
[
$Options
[
"distributive"
]
,
$DistributiveDefault
[
"distributive"
]
]
>
extends
true
?
"$then"
extends
keyof
$O
?
$O
[
"$then"
]
:
true
:
"$else"
extends
keyof
$O
?
$O
[
"$else"
]
:
false
Type Parameters
$Options
extends
$DistributiveOptions
$O
extends
$InputOptions
<
$Then
|
$Else
>
=
{}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...