def target

bend-kit-hairpin@0.14.0.0 · hairpin.bend:111

import bend-kit-hairpin@0.14.0.0/hairpin.bend as Hairpin
import Base

111# ref against the base (RFC 3986 §5.2); with no base, ref as given. None when the base is not absolute.
112def target(+b: String, ref: String) -> Maybe<&2, String>:
113  target.pick(String.is_empty(b), b, ref)

Uses (4)

Used by (1)