def starts_digit

bend-collections@1.0.0.0 · src/crypto/argon2/phc.bend:233

import bend-collections@1.0.0.0/src/crypto/argon2/phc.bend as Phc
import Base

233def starts_digit(s: String) -> Bool:
234  match s:
235    case SNil{}:
236      False{}
237    case SCon{Chr{+x}, rest}:
238      is_digit(x)

Uses (4)

Used by (2)