Url.abs.has_scheme: def of bend-kit-url@0.4.1.0 Import: import bend-kit-url@0.4.1.0/url.bend as Url Lines 559-561 of bend-kit-url@0.4.1.0/url.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-url@0.4.1.0/url.bend&start_line=559&end_line=561 import Base # ยง3.1: a ":" before any "/", "?" or "#" with a valid scheme name before it. def abs.has_scheme(+pre: String, colon: Bool) -> Bool: Bool.and(colon, Bool.and(Bool.not(String.is_empty(pre)), scheme.ok(pre))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=scheme.ok