def equals

gralha-xml-doc@0.1.0.1 · xml.bend:115

import gralha-xml-doc@0.1.0.1/xml.bend as Xml
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

115def equals(s: String) -> U.Scan:
116  match s:
117    case SNil{}: U.Scan{"", ""}
118    case SCon{Chr{c}, t}:
119      U.branch(U.Scan, U32.is_eq(c, 61), _ => value(U.trim(t)), _ => U.Scan{"", ""})

Uses (7)

Used by (1)