def Ty.str
import bend-kube-runtime@0.2.0.0/src/typed.bend as Typedimport Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
29def Ty.str(j: J.Json, path: String) -> Result<&2, &2, String, String>:
30 match j:
31 case J.JStr{s}:
32 Done{s}
33 case _:
34 Fail{path ++ ": expected a string"}
Uses (4)
Used by (0)
No other definition uses this definition.