Preparing search index...
The search index is not available
@wopjs/cast - v0.1.1
@wopjs/cast
toBoolean
Function toBoolean
Returns
x
if
x
is
true
or
false
, otherwise returns
undefined
.
to
Boolean
(
x
)
:
undefined
|
boolean
Parameters
x
:
unknown
Returns
undefined
|
boolean
Settings
Theme
OS
Light
Dark
@wopjs/cast - v0.1.1
Loading...
Returns
x
ifx
istrue
orfalse
, otherwise returnsundefined
.