def digits
import bend-kit-postgres@0.3.0.0/scram.bend as Scramimport Base
76def digits(s: String) -> Bool:
77 match s:
78 case SNil{}:
79 True{}
80 case SCon{Chr{+c}, t}:
81 Bool.and(Bool.and(U32.is_le(48, c), U32.is_le(c, 57)), digits(t))