def is_int

yaml-for-bend@0.1.1.0 · yaml11.bend:135

import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11
import Base
import yaml-for-bend@0.1.1.0/re.bend as R

135def is_int(+s: String) -> Bool:
136  Bool.or(Bool.or(R.matches(dec.pat(), s), R.matches(oct.pat(), s)),
137    Bool.or(Bool.or(R.matches(hex.pat(), s), R.matches(bin.pat(), s)), R.matches(sexa.int.pat(), s)))

Uses (9)

Used by (1)