diff --git a/source/_posts/swift.md b/source/_posts/swift.md index b1f0963..b97ada7 100644 --- a/source/_posts/swift.md +++ b/source/_posts/swift.md @@ -427,15 +427,28 @@ if weather == "sunny" { "B" != "b" // true ``` --`<` less than --`>` greater than --`<=` less than or equal to --`>=` greater than or equal to --`==` is equal to --`!=` is not equal to {.style-round cols-2} +-`<` less than
+-`>` greater than
+-`<=` less than or equal to
+-`>=` greater than or equal to
+-`==` is equal to
+-`!=` is not equal to +### Range Operators + +```swift +a...b // numbers between a and b (including both a and b) +a.. +-`a.. +-`...b` One-Sided Range + + ### Ternary conditional operator ```swift