Skip to main content

JS_ToFloat64

Function JS_ToFloat64 

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

JS_ToFloat64: ToNumber, or -1 with a pending exception.

ยงSafety

pres must be writable and val a live JSValue.