def sect.keep
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport Base
285def sect.keep(+ps: List<&2, Kv>, parent: Bool, +segs: List<&2, String>) -> List<&2, Sect>:
286 sect.put(Bool.and(List.is_empty(&2, Kv, ps), parent), ps, segs)
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport Base
285def sect.keep(+ps: List<&2, Kv>, parent: Bool, +segs: List<&2, String>) -> List<&2, Sect>:
286 sect.put(Bool.and(List.is_empty(&2, Kv, ps), parent), ps, segs)