Created
July 31, 2018 22:12
-
-
Save ZevEisenberg/15ee433073e30db1192e250e47a0d689 to your computer and use it in GitHub Desktop.
Example Guard indentation
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 foo: Int? = nil | |
let bar: Int? = nil | |
let baz: Int? = nil | |
func x() { | |
guard | |
let foo = foo, | |
let bar = bar, | |
let baz = baz | |
else { return } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment