bitmask::validValue($value)

Checks if a value can be used as bitmask value (checks for a power of two)

  • $value (mixed)
    The value to check for
  • return (boolean)