isBlack function

bool isBlack(
  1. int color
)

check if color is white

Implementation

bool isBlack(int color) => ((color) & 0xffffff == 0x0);