# get

    .get dictionary:{Map<String, Any>} \
                key:{String} \
             orelse:{Dynamic = DynamicValue(NOT_FOUND)}
    -> Any

Content copied to clipboard

Gets a value from a dictionary by its key.

    .var {dict}
      .dictionary
        - a: 1
        - b: 2

    .dict::get {a}

Content copied to clipboard

#### Return

value corresponding to the given key, or orelse if the key is not present

#### Parameters

dictionary

dictionary to get the value from

key

key to get the value of

orelse

- Optional

value to return if the key is not present. If unset, defaults to NOT_FOUND.

#### Chaining

This function is designed to be chained with other function calls:

    Map<String, Any>::get key:{String} \
             orelse:{Dynamic}
    -> Any

Content copied to clipboard