Instance Property

isASCII

A Boolean value indicating whether this is an ASCII character.

Declaration

var isASCII: Bool { get }

See Also

Working with a Character’s Unicode Values

init(Unicode.Scalar)

Creates a character containing the given Unicode scalar value.

var asciiValue: UInt8?

The ASCII encoding value of this character, if it is an ASCII character.