def pairs.at

ezx@1.13.0.0 · src/ledger/manifest.bend:63

import ezx@1.13.0.0/src/ledger/manifest.bend as Manifest
import Base
import ezx@1.13.0.0/src/toml/toml.bend as T

63# this section's pairs when its name matches, otherwise the rest's
64def pairs.at(sect: T.Sect, rest: List<&2, T.Kv>, name: String) -> List<&2, T.Kv>:
65  T.Sect{n, ps} = sect
66  Bool.pick(List<&2, T.Kv>, String.eq(n, name), ps, rest)

Uses (6)

Used by (1)