func unicode.IsPrint
11 uses
unicode (current package)
graphic.go#L50: func IsPrint(r rune) bool {
github.com/google/go-cmp/cmp
report_reflect.go#L210: isPrintSpace := func(r rune) bool { return unicode.IsPrint(r) && unicode.IsSpace(r) }
report_reflect.go#L318: return unicode.IsPrint(r) || r == '\t' // specially treat tab as printable
report_reflect.go#L370: return r == '`' || r == '\n' || !(unicode.IsPrint(r) || r == '\t')
report_slices.go#L102: if !(unicode.IsPrint(r) || unicode.IsSpace(r)) || r == utf8.RuneError {
report_slices.go#L169: return unicode.IsPrint(r) || r == '\t' // specially treat tab as printable
golang.org/x/mod/modfile
read.go#L624: return !unicode.IsSpace(r) && unicode.IsPrint(r)
rule.go#L477: if !unicode.IsPrint(r) {
regexp/syntax
regexp.go#L255: if unicode.IsPrint(r) {
text/template
funcs.go#L701: if unicode.IsPrint(r) {
text/template/parse
lex.go#L415: case r <= unicode.MaxASCII && unicode.IsPrint(r):
![]() |
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. |