Svg.keyword.blank: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 1033-1042 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=1033&end_line=1042 import Base import gralha-text-scan@0.1.0.1/scan.bend as U # A property from an element's attributes: absent means the inherited value # (or the initial one for non-inherited properties) with no string work at # all; present, the CSS-wide keywords are honoured. # The CSS-wide keywords of a value: 1 inherit, 2 initial, 3 unset, 0 none. # Decided from the first letter on, case-insensitively, with blanks around # allowed, without lowercasing or trimming a copy of every value. def keyword.blank(s: String) -> Bool: match s: case SNil{}: True{} case SCon{Chr{c}, t}: U.space(c) && keyword.blank(t) Uses (5): 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=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=space