Skip to main content

has_str

Function has_str 

Source
pub fn has_str<T>(
    target: &Object<T>,
    property_key: &JsString,
) -> Result<bool, JsValue>
where Object<T>: ErasableGenericBorrow<Object<JsValue>>,
Expand description

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

MDN documentation