MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / isDigit

Function isDigit

pkg/filter/ql/lexer.go:520–520  ·  view source on GitHub ↗

isDigit returns true if the rune is a digit.

(ch rune)

Source from the content-addressed store, hash-verified

518
519// isDigit returns true if the rune is a digit.
520func isDigit(ch rune) bool { return ch >= '0' && ch <= '9' }
521
522// isIdentChar returns true if the rune can be used in an unquoted identifier. $ rune is for special PE section names (e.g. .debug$ | .tls$)
523func isIdentChar(ch rune) bool {

Callers 5

parseDurationFunction · 0.85
scanMethod · 0.85
scanNumberMethod · 0.85
scanDigitsMethod · 0.85
isIdentCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected