Config.Kube.named.if: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/config.bend as Config Lines 119-124 of bend-kube-runtime@0.2.0.0/src/config.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&start_line=119&end_line=124 import Base import bend-kube-runtime@0.2.0.0/src/json.bend as J def Kube.named.if(+x: J.Json, +field: String, rest: J.Json, hit: Bool) -> J.Json: match hit: case True{}: J.Json.get(x, field) case False{}: rest Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json.get