pub unsafe fn number_value(env: Env, p: Local) -> f64 {
    let mut value = 0.0;
    assert_eq!(
        napi::get_value_double(env, p, &mut value as *mut f64),
        napi::Status::Ok
    );
    value
}
/// Gets the underlying value of an `Local` object containing a JavaScript number. Panics if
/// the given `Local` is not a number.
Gets the underlying value of an `Local` object containing a JavaScript number. Panics if
the given `Local` is not a number.
Gets the underlying value of an ` Local ` object containing a JavaScript number . Panics if the given ` Local ` is not a number .
pub unsafe fn number_value(env: Env, p: Local) -> f64 {
    let mut value = 0.0;
    assert_eq!(
        napi::get_value_double(env, p, &mut value as *mut f64),
        napi::Status::Ok
    );
    value
}
pub unsafe fn number_value ( env : Env , p : Local ) -> f64 { let mut value = 0.0 ; assert_eq ! ( napi get_value_double ( env p mut value as mut f64 ) napi Status Ok ) ; value }
Gets the underlying value of an `Local` object containing a JavaScript number.
Gets the underlying value of an ` Local ` object containing a JavaScript number .
env
Env
p
Local