pub unsafe fn value(env: Env, p: Local) -> f64 {
    let mut value = 0.0;
    let status = napi::get_date_value(env, p, &mut value as *mut _);
    assert_eq!(status, napi::Status::Ok);
    value
}
/// Get the value of a date object
///
/// # Safety
///
/// `env` is a raw pointer. Please ensure it points to a napi_env that is valid for the current context.
/// `Local` must be an NAPI value associated with the given `Env`
Get the value of a date object
Get the value of a date object
pub unsafe fn value(env: Env, p: Local) -> f64 {
    let mut value = 0.0;
    let status = napi::get_date_value(env, p, &mut value as *mut _);
    assert_eq!(status, napi::Status::Ok);
    value
}
pub unsafe fn value ( env : Env , p : Local ) -> f64 { let mut value = 0.0 ; let status = napi :: get_date_value ( env , p , & mut value as * mut _ ) ; assert_eq ! ( status napi Status Ok ) ; value }
Get the value of a date object
Get the value of a date object
env
Env
p
Local
safety
`env` is a raw pointer. Please ensure it points to a napi_env that is valid for the current context.
`Local` must be an NAPI value associated with the given `Env`
` env ` is a raw pointer . Please ensure it points to a napi_env that is valid for the current context . ` Local ` must be an NAPI value associated with the given ` Env `