Skip to main content

JS_ThisDateValue

Function JS_ThisDateValue 

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

JS_ThisDateValue: this’s [[DateValue]], or -1 when it is not a Date.

§Safety

valp must be null or writable, and this_val a live JSValue.