MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / is_ASCII

Method is_ASCII

main/interface/cpp-terminal/input.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <type_traits>
10
11bool Term::is_ASCII(const Term::Key& key) {
12 if (key >= 0 && key <= 127) {
13 return true;
14 }
15 return false;
16}
17
18bool Term::is_extended_ASCII(const Term::Key& key) {
19 if (key >= 0 && key <= 255) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected