def encode.q

bend-kit-url@0.4.1.0 · url.bend:240

import bend-kit-url@0.4.1.0/url.bend as Url
import Base

240def encode.q(path: String, q: String, empty: Bool) -> String:
241  match empty:
242    case True{}:
243      path
244    case False{}:
245      path ++ "?" ++ String.drop(q, 1n)

Uses (4)

Used by (1)