isSurrogate(_:)
Returns a Boolean value indicating whether the specified code unit is a high or low surrogate code unit.
Declaration
static func isSurrogate(_ x: Unicode.UTF16.CodeUnit) -> BoolReturns a Boolean value indicating whether the specified code unit is a high or low surrogate code unit.
static func isSurrogate(_ x: Unicode.UTF16.CodeUnit) -> Bool