Function mozjs::rust::ToNumber

source ·
pub unsafe fn ToNumber(
    cx: *mut JSContext,
    v: HandleValue<'_>
) -> Result<f64, ()>