devela::_dep::web_sys::js_sys::Reflect

Function has

Source
pub fn has(target: &JsValue, property_key: &JsValue) -> Result<bool, JsValue> 
Available on crate feature dep_web_sys only.
Expand description

The static Reflect.has() method works like the in operator as a function.

MDN documentation