def abs.hostok

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

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

337def abs.hostok(scheme: String, host: String, port: Maybe<&2, U32>, rest: String, ok: Bool) -> Maybe<&2, Abs>:
338  match ok:
339    case False{}:
340      None{}
341    case True{}:
342      abs.build(scheme, host, port, rest)

Uses (6)

Used by (2)