-
-
Save twobitlabs/5ba150aed3c159d215ef049f0c5739de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var charset = CharacterSet(charactersIn: "a") | |
charset.formUnion(CharacterSet(charactersIn: "😀")) | |
print(charset.contains("😀" as UnicodeScalar)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment