MCPcopy Create free account
hub / github.com/segmentio/encoding / Valid

Function Valid

ascii/valid.go:9–11  ·  view source on GitHub ↗

Valid returns true if b contains only ASCII characters.

(b []byte)

Source from the content-addressed store, hash-verified

7
8// Valid returns true if b contains only ASCII characters.
9func Valid(b []byte) bool {
10 return ascii.Valid(b)
11}
12
13// ValidBytes returns true if b is an ASCII character.
14func ValidByte(b byte) bool {

Callers 1

appendToLowerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…