Swift Array Issues <p>I have this code:</p> <pre><code>let posState = positionState(pos) if posState != .None { if posState == .Off { boardArray[pos.row][pos.column] == .On } else { boardArray[pos.row][pos.column] == .Off } } </code></pre> <p>The issue I'm having is that when I attempt to change the value of an element in <code>boardArray</code>, nothing happens. Why does boardArray's element stay the same?</p>