func go/scanner.isDecimal
6 uses
go/scanner (current package)
scanner.go#L347: return isDecimal(ch) || ch >= utf8.RuneSelf && unicode.IsDigit(ch)
scanner.go#L369: func isDecimal(ch rune) bool { return '0' <= ch && ch <= '9' }
scanner.go#L381: for isDecimal(s.ch) || s.ch == '_' {
scanner.go#L527: case isDecimal(d) || x1 == 'x' && isHex(d):
scanner.go#L805: case isDecimal(ch) || ch == '.' && isDecimal(rune(s.peek())):
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |