def path.present
import bend-kit-camber@0.15.0.1/input.bend as Inputimport Base
43def path.present(~I: Data, ~convert: String -> Maybe<&2, I>, present: Bool, params: Map<&2, String>, key: String) -> Result<&2, &1, U32, I>:
44 match present:
45 case False{}: Fail{400}
46 case True{}:
47 path.value(~I, ~convert, Map.get(String, "", params, key))