isValidAsciiChar function Null safety
- int codeUnit
Determines if codeUnit
is between SPACE (ASCII 32) and ~ (ASCII 126).
Implementation
bool isValidAsciiChar(int codeUnit) => 32 <= codeUnit && codeUnit <= 126;
Determines if codeUnit
is between SPACE (ASCII 32) and ~ (ASCII 126).
bool isValidAsciiChar(int codeUnit) => 32 <= codeUnit && codeUnit <= 126;