def with_q
import bend-kit-url@0.4.1.0/url.bend as Urlimport Base
500def with_q(path: String, q: String, has_q: Bool) -> String:
501 match has_q:
502 case True{}:
503 path ++ "?" ++ q
504 case False{}:
505 path
import bend-kit-url@0.4.1.0/url.bend as Urlimport Base
500def with_q(path: String, q: String, has_q: Bool) -> String:
501 match has_q:
502 case True{}:
503 path ++ "?" ++ q
504 case False{}:
505 path