package ascii
import "net/http/internal/ascii"
Index ¶
- func EqualFold(s, t string) bool
- func Is(s string) bool
- func IsPrint(s string) bool
- func ToLower(s string) (lower string, ok bool)
Functions ¶
func EqualFold ¶
EqualFold is strings.EqualFold, ASCII only. It reports whether s and t are equal, ASCII-case-insensitively.
func Is ¶
Is returns whether s is ASCII.
func IsPrint ¶
IsPrint returns whether s is ASCII and printable according to https://tools.ietf.org/html/rfc20#section-4.2.
func ToLower ¶
ToLower returns the lowercase version of s if s is ASCII and printable.
Source Files ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 26 minutes ago –
Tools for package owners.