toEngine

fun toEngine(value: Any?): Any?

For a value that needs no scope: scalars only. Collections need toEngine with a context.


fun toEngine(value: Any?, cx: Context, scope: Scriptable): Any?

The full table, including the collections, which need a scope to build their objects in.