MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / isWhitespace

Function isWhitespace

src/attributes.cpp:3023–3025  ·  view source on GitHub ↗

Query whether a character is whitespace

Source from the content-addressed store, hash-verified

3021
3022 // Query whether a character is whitespace
3023 bool isWhitespace(char ch) {
3024 return std::strchr(kWhitespaceChars, ch) != NULL;
3025 }
3026
3027 // Remove trailing line comments -- ie, find comments that don't begin
3028 // a line, and remove them. We avoid stripping attributes.

Callers 1

parseFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected