We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
if let var
1 parent 977fa9e commit 19ef86cCopy full SHA for 19ef86c
docs/docs/03-language-reference.md
@@ -874,8 +874,8 @@ if myPerson.address == nil {
874
875
#### 1.6.3 Unwrapping using `if let`
876
877
-The `if let` statement can be used to test if an optional is defined and *unwrap* it into a
878
-non-optional variable defined inside the block:
+The `if let` statement (or `if let var` for a reassignable variable) can be used to test if an
+optional is defined and *unwrap* it into a non-optional variable defined inside the block:
879
880
```TS
881
if let address = myPerson.address {
0 commit comments