MCPcopy Create free account
hub / github.com/comaps/comaps / IsASCIIString

Function IsASCIIString

libs/base/string_utils.cpp:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345bool IsASCIIString(std::string_view sv)
346{
347 for (auto const c : sv)
348 if (c & 0x80)
349 return false;
350 return true;
351}
352
353bool IsASCIIDigit(UniChar c)
354{

Callers 6

CreateZipFromFilesFunction · 0.85
TransliterateMethod · 0.85
ParseEmojiFunction · 0.85
ValidateEmailMethod · 0.85
UNIT_TESTFunction · 0.85
ExportMultipleFilesFunction · 0.85

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.68