wasm_bindgen::JsValue::null function

Example

Creates a new JSValue representing null.


pub fn jsvalue_null() {
    let js_null=JsValue::null();
    web_sys::console::log_2(&"Get Value:%s".into(),&js_str);
}
                                    

Function


        pub fn null() -> JsValue
           

features/dependencies

Source Code