Last active
April 22, 2017 19:51
-
-
Save alexj70/15d1fce423030bd14add78a666585a70 to your computer and use it in GitHub Desktop.
Range in if statement
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
////////////////////////////////// | |
if case 200 ... 299 = statusCode { | |
// do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment