operator ^ method

Obj<bool> operator ^(
  1. Obj<bool> other
)

The logical exclusive disjunction ("exclusive or") of this and other.

Returns whether this and other are neither both true nor both false.

Implementation

Obj<bool> operator ^(Obj<bool> other) => (value ^ other.value).obj;