Instance Propertyswift 6.0.3Swift

isHexDigit

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

var isHexDigit: Bool { get }

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.