MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isWhitespace

Function isWhitespace

extlibs/catch/include/catch/catch.hpp:8159–8162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8157namespace TextFlow {
8158
8159inline auto isWhitespace(char c) -> bool {
8160 static std::string chars = " \t\n\r";
8161 return chars.find(c) != std::string::npos;
8162}
8163inline auto isBreakableBefore(char c) -> bool {
8164 static std::string chars = "[({<|";
8165 return chars.find(c) != std::string::npos;

Callers 3

isBoundaryMethod · 0.85
calcLengthMethod · 0.85
operator ++Method · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected