convertTo

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

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