def find

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

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

179# The value under any key: get(v, "a") is find(v, Str{"a"}).
180def find(v: Yaml, key: Yaml) -> Maybe<&2, Yaml>:
181  match v:
182    case Mapping{es}:
183      find.go(es, key)
184    case _:
185      None{}

Uses (3)

Used by (0)

No other definition uses this definition.