Contents

isHexDigit

A Boolean value indicating whether this character represents a hexadecimal digit.

Declaration

var isHexDigit: Bool { get }

Discussion

Hexadecimal digits include 0-9, Latin letters a-f and A-F, and their fullwidth compatibility forms. To get the character’s value, use the hexDigitValue property.

See Also

Checking a Character’s Numeric Properties