Function js_sys::Reflect::has

source ยท
pub fn has(target: &JsValue, property_key: &JsValue) -> Result<bool, JsValue>
Expand description

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

MDN documentation