validSZX static method

bool validSZX(
  1. int szx
)

Checks whether the given SZX is valid or not.

Implementation

static bool validSZX(final int szx) => szx >= 0 && szx <= 6;