isSet method

  1. @nonVirtual
bool isSet(
  1. int n
)

Returns whether the nth bit from value is set.

Throws RangeError if n is out of range.

Implementation

@nonVirtual
bool isSet(int n) {
  _assertMaxBits(n);
  return value.isSet(n);
}