[][src]Function js_sys::Reflect::has

pub fn has(target: &JsValue, property_key: &JsValue) -> Result<bool, JsValue>

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

MDN documentation