KiteJS
Toggle table of contents
0.8.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteJS
kitejs-rhino
/
io.github.yuroyami.kitejs.rhino
/
ScriptRuntime
/
toObject
to
Object
fun
toObject
(
scope
:
Scriptable
,
value
:
Any
?
)
:
Scriptable
(
source
)
fun
toObject
(
cx
:
Context
,
scope
:
Scriptable
,
value
:
Any
?
)
:
Scriptable
(
source
)
ToObject: wraps a primitive in its object, and refuses null and undefined.