operator & method

Condition operator &(
  1. bool other
)

Checks if the Tag is a certain value and returns a Condition to use in If.

Implementation

Condition operator &(bool other) {
  if (other) return Condition.tag(this);
  return Condition.not(Condition.tag(this));
}