MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / isWhitespace

Function isWhitespace

tests/catch.hpp:6369–6372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6367namespace TextFlow {
6368
6369inline auto isWhitespace(char c) -> bool {
6370 static std::string chars = " \t\n\r";
6371 return chars.find(c) != std::string::npos;
6372}
6373inline auto isBreakableBefore(char c) -> bool {
6374 static std::string chars = "[({<|";
6375 return chars.find(c) != std::string::npos;

Callers 3

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

Calls 1

findMethod · 0.80

Tested by

no test coverage detected