MCPcopy Create free account
hub / github.com/cel-expr/cel-go / isDigit

Function isDigit

parser/lexer.go:203–205  ·  view source on GitHub ↗
(r rune)

Source from the content-addressed store, hash-verified

201}
202
203func isDigit(r rune) bool {
204 return r >= '0' && r <= '9'
205}
206
207func isHexDigit(r rune) bool {
208 return (r >= '0' && r <= '9') || (r >= 'a' && r <= 'f') || (r >= 'A' && r <= 'F')

Callers 4

consumeDigitsMethod · 0.70
consumeNumericLiteralMethod · 0.70
LexMethod · 0.70
normalizeIdentMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected