def css.word.test

gralha-css-style@0.1.0.1 · css.bend:76

import gralha-css-style@0.1.0.1/css.bend as Css
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

76def css.word.test(scan: U.Scan, +word: String, next: String -> Bool) -> Bool:
77  U.Scan{h, t} = scan
78  U.string.equal(h, word) || next(t)
79
80@unsafe

Uses (5)

Used by (1)