def with_q

bend-net-url@0.4.0.0 · url.bend:450

import bend-net-url@0.4.0.0/url.bend as Url
import Base

450def with_q(path: String, q: String, has_q: Bool) -> String:
451  match has_q:
452    case True{}:
453      path ++ "?" ++ q
454    case False{}:
455      path

Uses (3)

Used by (1)