def text.free
import ezsys@0.1.0.0/src/text.bend as Textimport Base
189# whether no close delimiter starts at any character of key, in key ++ after
190def text.free(+close: String, key: String, +after: String) -> Bool:
191 match key:
192 case SNil{}:
193 True{}
194 case SCon{+hd, +tl}:
195 text.all(Bool.not(String.starts_with(SCon{hd, tl ++ after}, close)),
196 _u => text.free(close, tl, after))
Uses (6)
Used by (0)
No other definition uses this definition.