Lock.kv: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 422-425 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=422&end_line=425 import Base import ezx@1.11.0.0/src/toml/toml.bend as T # a key worth writing, or nothing at all when its value is empty, so an absent # tag leaves no trace def kv(key: String, +val: String) -> List<&2, T.Kv>: Bool.pick(List<&2, T.Kv>, String.is_empty(val), [], [T.Kv{key, val}]) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=Kv