isValidAsciiChar function

bool isValidAsciiChar(
  1. int codeUnit
)

Determines if codeUnit is between SPACE (ASCII 32) and ~ (ASCII 126).

Implementation

bool isValidAsciiChar(int codeUnit) => 32 <= codeUnit && codeUnit <= 126;