Skip to main content

JS_ToString

Function JS_ToString 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_ToString( ctx: *mut JsContext, val: JsValue, ) -> JsValue
Expand description

JS_ToString: ToString, which calls toString/valueOf and so can throw.

ยงSafety

val must be a live JSValue.