def digits
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
204def digits(s: String) -> Bool:
205 match s:
206 case SNil{}:
207 True{}
208 case SCon{Chr{+c}, t}:
209 U32.is_ge(c, 48) && U32.is_le(c, 57) && digits(t)
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
204def digits(s: String) -> Bool:
205 match s:
206 case SNil{}:
207 True{}
208 case SCon{Chr{+c}, t}:
209 U32.is_ge(c, 48) && U32.is_le(c, 57) && digits(t)