Contents

isASCIIHexDigit

A Boolean value indicating whether the scalar is an ASCII character commonly used for the representation of hexadecimal numbers.

Declaration

var isASCIIHexDigit: Bool { get }

Discussion

The only scalars for which this property is true are:

  • U+0030…U+0039: DIGIT ZERO…DIGIT NINE

  • U+0041…U+0046: LATIN CAPITAL LETTER A…LATIN CAPITAL LETTER F

  • U+0061…U+0066: LATIN SMALL LETTER A…LATIN SMALL LETTER F

This property corresponds to the “ASCII_Hex_Digit” property in the Unicode Standard.