iOS:Binary operator '|=' cannot be applied to two 'Bool' operands
<p>I got an error while performing a bitwise operation on two boolean values.
<strong>Error :"Binary operator '|=' cannot be applied to two 'Bool' operands"</strong></p>

<pre><code>func checkAvailability(available:Bool) -&gt; Bool{
    var bChanged = false
    bChanged |= available //"Binary operator '|=' cannot be applied to two 'Bool' operands"
    return bChanged  
}
</code></pre>

<p>Please any one help me to solve the problem...</p>