Shape.path: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/shape.bend as Shape Lines 37-43 of cswap-bend-cli@0.1.0.0/fmt/shape.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/shape.bend&start_line=37&end_line=43 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # The value at a key path; null when any step is missing. def path(ks: List<&2, String>, +j: Json.Json) -> Json.Json: match ks: case Nil{}: j case Con{k, t}: path(t, get_or_null(j, k)) Uses (4): 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=cswap-bend-cli@0.1.0.0/fmt/shape.bend&name=get_or_null https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json