operator | method

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

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

Returns true if either this or other is true, and false otherwise.

Implementation

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