A Boolean value indicating whether this is an ASCII character.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
var isASCII: Bool { get }
A Boolean value indicating whether this is an ASCII character.
SDK
Framework
var isASCII: Bool { get }
init(Unicode .Scalar)
Creates a character containing the given Unicode scalar value.
var ascii Value: UInt8?
The ASCII encoding value of this character, if it is an ASCII character.