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