Valid returns true if b contains only ASCII characters.
(b []byte)
| 7 | |
| 8 | // Valid returns true if b contains only ASCII characters. |
| 9 | func Valid(b []byte) bool { |
| 10 | return ascii.Valid(b) |
| 11 | } |
| 12 | |
| 13 | // ValidBytes returns true if b is an ASCII character. |
| 14 | func ValidByte(b byte) bool { |
no outgoing calls
no test coverage detected
searching dependent graphs…