/** * This method returns whether only one operand is "true". * * @access public * @static * @param IBool\Type $x the left operand * @param IBool\Type $y the right operand * @return IBool\Type whether only one operand is "true" * * @see http://en.wikipedia.org/wiki/Truth_table#Exclusive_disjunction */ public static function xor_(IBool\Type $x, IBool\Type $y) : IBool\Type { return IBool\Type::box($x->unbox() xor $y->unbox()); }