@wopjs/cast - v0.1.12
Preparing search index...
toFalsy
Function toFalsy
toFalsy
<
T
>
(
x
:
T
)
:
ExtractFalsy
<
T
>
|
undefined
Returns
x
if
Boolean(x)
is
false
, otherwise returns
undefined
.
Type Parameters
T
Parameters
x
:
T
Returns
ExtractFalsy
<
T
>
|
undefined
Settings
Theme
OS
Light
Dark
@wopjs/cast - v0.1.12
Loading...
Returns
xifBoolean(x)isfalse, otherwise returnsundefined.