def get

yaml-for-bend@0.1.1.0 · value.bend:162

import yaml-for-bend@0.1.1.0/value.bend as Value
import Base

162# The value under the string key +key+, if +v+ is a mapping that has it.
163def get(v: Yaml, key: String) -> Maybe<&2, Yaml>:
164  match v:
165    case Mapping{es}:
166      get.go(es, key)
167    case _:
168      None{}

Uses (4)

Used by (1)