isValidJavaScriptValue

fun isValidJavaScriptValue(string: Any?): Boolean