---
title: isASCIIHexDigit
framework: swift
role: symbol
role_heading: Instance Property
path: swift/unicode/scalar/properties-swift.struct/isasciihexdigit
---

# isASCIIHexDigit

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

## Declaration

```swift
var isASCIIHexDigit: Bool { get }
```

## Discussion

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.
