ascii

Imports

Imports #

"strings"
"unicode"

Functions

EqualFold function #

EqualFold is [strings.EqualFold], ASCII only. It reports whether s and t are equal, ASCII-case-insensitively.

func EqualFold(s string, t string) bool

Is function #

Is returns whether s is ASCII.

func Is(s string) bool

IsPrint function #

IsPrint returns whether s is ASCII and printable according to https://tools.ietf.org/html/rfc20#section-4.2.

func IsPrint(s string) bool

ToLower function #

ToLower returns the lowercase version of s if s is ASCII and printable.

func ToLower(s string) (lower string, ok bool)

lower function #

lower returns the ASCII lowercase version of b.

func lower(b byte) byte

Generated with Arrow