If var statement for existing var <p>I know there is the <code>if var</code> statement, but is there a way for it modify an existing var?</p> <pre><code>let number1: Int? = 1 ... var number2: Int = 2 if var number2 = number1 { //if number1 is not nil, number2 will be set to number1 which is 1 } </code></pre>