MCPcopy Create free account
hub / github.com/Shopify/go-lua / isHexadecimal

Function isHexadecimal

scanner.go:211–213  ·  view source on GitHub ↗
(c rune)

Source from the content-addressed store, hash-verified

209}
210
211func isHexadecimal(c rune) bool {
212 return '0' <= c && c <= '9' || 'a' <= c && c <= 'f' || 'A' <= c && c <= 'F'
213}
214
215func (s *scanner) readHexNumber(x float64) (n float64, c rune, i int) {
216 if c, n = s.current, x; !isHexadecimal(c) {

Callers 1

readHexNumberMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…