def has_no_underscore
import bend-lint-rules@0.2.0.0/layout/case.bend as Caseimport Base
32# Case
33# ====
34def has_no_underscore(s: String) -> Bool:
35 match s:
36 case SNil{}:
37 True{}
38 case SCon{'_', rest}:
39 False{}
40 case SCon{c, rest}:
41 has_no_underscore(rest)