operator | method

bool operator |(
  1. bool other
)

逻辑或(等价于 this || other,可用作中缀运算符 a | b)。

Implementation

bool operator |(bool other) => this || other;