Created
September 5, 2017 13:13
-
-
Save ezura/75f348929be6a544f1dafc2c90a0914f to your computer and use it in GitHub Desktop.
上も下も挙動同じだけど、ニュアンスが違う気がする( 'ω') #CodePiece
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
let any: Any = 🍎() | |
if let any = any as? 🌳 { | |
// do something | |
} | |
// ----------- | |
if case let any as 🌳 = any { | |
// do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment