KiteJS
Toggle table of contents
0.8.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteJS
kitejs-api
/
io.github.yuroyami.kitejs.api
/
JsValue
/
asBoolean
as
Boolean
fun
asBoolean
(
)
:
Boolean
(
source
)
ToBoolean: false for undefined, null, false, zero, NaN,
""
and
0n
, true for the rest.