Preparing search index...
The search index is not available
@wopjs/cast - v0.1.2
@wopjs/cast
isTruthy
Function isTruthy
Returns
true
if
Boolean(x)
is
true
.
isTruthy
<
T
>
(
x
:
T
)
:
x
is
Exclude
<
T
,
Falsy
>
Type Parameters
T
Parameters
x
:
T
Returns
x
is
Exclude
<
T
,
Falsy
>
Settings
Theme
OS
Light
Dark
@wopjs/cast - v0.1.2
Loading...
Returns
true
ifBoolean(x)
istrue
.