convertTo

inline fun <T> JsValue.convertTo(): T

Reads a JsValue as T, coercing the way JavaScript would where that makes sense.