Changes

Jump to: navigation, search

Swift 2 Operators and Expressions

12 bytes removed, 20:34, 1 February 2016
m
Text replacement - "<google>BUY_IOS9</google>" to "<htmlet>ios9</htmlet>"
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
var secondFlag = !flag // secondFlag set to false
</pre>
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>
The OR (||) operator returns true if one of its two operands evaluates to true, otherwise it returns false. For example, the following code evaluates to true because at least one of the expressions either side of the OR operator is true:
<googlehtmlet>BUY_IOS9ios9</googlehtmlet>

Navigation menu