Skip to main content

delete_property_str

Function delete_property_str 

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

The static Reflect.deleteProperty() method allows to delete properties. It is like the delete operator as a function.

MDN documentation