Instance Methodswift 6.1.2Foundation

insert(charactersIn:)

Insert a closed range of integer values in the CharacterSet.

mutating func insert(charactersIn range: ClosedRange<UnicodeScalar>)

It is the caller’s responsibility to ensure that the values represent valid UnicodeScalar values, if that is what is desired.