def get
import yaml-for-bend@0.1.1.0/value.bend as Valueimport 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{}