Skip to main content

set

Function set 

Source
pub fn set(map: &Expr, name: &str, value: Expr) -> Expr
Expand description

Set (or insert) an unqualified-keyed field, preserving sibling keys, in a new map value.