Created
July 22, 2015 07:22
-
-
Save es-kumagai/356cad0ffd7dabc634e5 to your computer and use it in GitHub Desktop.
そういえば guard でも普通に where が使えるんですね。 #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
guard let string = string where !string.isEmpty else { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment