hasRight method

bool hasRight(
  1. int right
)

Implementation

bool hasRight(int right) => this & right != 0;