Pacote
Preparing search index...
@pacote/iff
iff
Function iff
iff
<
T
>
(
predicate
:
boolean
,
onConsequent
:
()
=>
T
)
:
Option
<
T
>
Type Parameters
T
Parameters
predicate
:
boolean
onConsequent
:
()
=>
T
Returns
Option
<
T
>
iff
<
T
>
(
predicate
:
boolean
,
onConsequent
:
()
=>
T
,
onAlternative
:
()
=>
T
)
:
T
Type Parameters
T
Parameters
predicate
:
boolean
onConsequent
:
()
=>
T
onAlternative
:
()
=>
T
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Pacote
Loading...