menu
yjy_image_3_3_0 package
documentation
image.dart
BitUtility
isPowerOf2 static method
isPowerOf2 static method
dark_mode
light_mode
isPowerOf2
static method
bool
isPowerOf2
(
int
x
)
Implementation
static bool isPowerOf2(int x) => (x & (x - 1)) == 0;
yjy_image_3_3_0 package
documentation
image
BitUtility
isPowerOf2 static method
BitUtility class