pub(crate) fn remove_property<Key>(&self, key: Key) -> bool
    where
        Key: Into<PropertyKey>,
    {
        self.as_object().map(|x| x.remove(&key.into())).is_some()
    }
/// Removes a property from a [`JsValue`] object.
///
/// It will return a boolean based on if the value was removed, if there was no value to remove false is returned.
Removes a property from a [`JsValue`] object.
It will return a boolean based on if the value was removed, if there was no value to remove false is returned.
Removes a property from a [ ` JsValue ` ] object . It will return a boolean based on if the value was removed if there was no value to remove false is returned .
pub(crate) fn remove_property<Key>(&self, key: Key) -> bool
    where
        Key: Into<PropertyKey>,
    {
        self.as_object().map(|x| x.remove(&key.into())).is_some()
    }
pub ( crate ) fn remove_property < Key > ( & self , key : Key ) -> bool where Key : Into < PropertyKey > , { self . as_object ( ) . map ( | x | x . remove ( & key . into ( ) ) ) . is_some ( ) }
Removes a property from a [`JsValue`] object.
Removes a property from a [ ` JsValue ` ] object .
&self
key
Key
&self
key
Key