def value.at

ezx@1.11.0.0 · src/toml/toml.bend:31

import ezx@1.11.0.0/src/toml/toml.bend as Toml
import Base

31# this pair's value when the key matches, otherwise whatever the rest of the
32# table gave
33def value.at(kv: Kv, rest: String, key: String) -> String:
34  Kv{kk, vv} = kv
35  Bool.pick(String, String.eq(kk, key), vv, rest)

Uses (4)

Used by (1)