Function wasm_bindgen_test::__rt::detect::is_browser
source · pub fn is_browser() -> bool
Expand description
Returns whether it’s likely we’re executing in a browser environment, as opposed to node.js.
pub fn is_browser() -> bool
Returns whether it’s likely we’re executing in a browser environment, as opposed to node.js.