isValidMaskPattern static method

bool isValidMaskPattern(
  1. int maskPattern
)

Implementation

static bool isValidMaskPattern(int maskPattern) {
  return maskPattern >= 0 && maskPattern < numMaskPatterns;
}