def get

emerging-ezhttp@0.21.0.0 · src/qs.bend:410

import emerging-ezhttp@0.21.0.0/src/qs.bend as Qs
import Base

410# the value of the last pair with this name, none when no pair has it
411def get(ps: List<&2, Kv()>, +name: String) -> Maybe<&2, String>:
412  match ps:
413    case []:
414      None{}
415    case (key, value) <> t:
416      get.pick(get(t, name), value, String.eq(key, name))

Uses (7)

Used by (1)