Skip to main content

own_prop_facts

Function own_prop_facts 

Source
pub fn own_prop_facts(
    obj: &Value,
    key: &str,
) -> Option<(Value, bool, bool, bool)>
Expand description

An object’s OWN property as (value, writable, configurable, is_accessor), or None when it has none. Reads through a Proxy’s getOwnPropertyDescriptor trap, so it answers for any object.