@wopjs/cast - v0.1.3
Preparing search index...
toBoolean
Function toBoolean
toBoolean
(
x
:
unknown
)
:
boolean
|
undefined
Returns
x
if
x
is
true
or
false
, otherwise returns
undefined
.
Parameters
x
:
unknown
Returns
boolean
|
undefined
Settings
Theme
OS
Light
Dark
@wopjs/cast - v0.1.3
Loading...
Returns
xifxistrueorfalse, otherwise returnsundefined.