toKotlin

fun toKotlin(): Any?

A plain Kotlin value, all the way down: Map for an object, List for an array, Double, String, Boolean, or null. A function stays a JsFunction, since it has no Kotlin twin.