Function binn_ir::object_insert

source ·
pub fn object_insert<K, V>(object: &mut Object, key: K, value: V) -> Option<Value>where
    K: Into<ObjectKey>,
    V: Into<Value>,
Expand description

Inserts new item into an object

Returns previous value (if it existed).