rpackages/ms2Spectrum/src/utils.cpp
bool utils::isCommentLine(std::string line)
{
  line = utils::trimLeading(line);
  return line.substr(0, utils::COMMENT_SYMBOL.length()) == utils::COMMENT_SYMBOL;
}
//returns true if line begins with COMMENT_SYMBOL, ignoring leading whitespace
returns true if line begins with COMMENT_SYMBOL, ignoring leading whitespace
returns true if line begins with COMMENT_SYMBOL ignoring leading whitespace
bool utils::isCommentLine(std::string line)
{
  line = utils::trimLeading(line);
  return line.substr(0, utils::COMMENT_SYMBOL.length()) == utils::COMMENT_SYMBOL;
}
bool utils :: isCommentLine ( std :: string line ) { line = utils :: trimLeading ( line ) ; return line . substr ( 0 , utils :: COMMENT_SYMBOL . length ( ) ) == utils :: COMMENT_SYMBOL ; }
returns true if line begins with COMMENT_SYMBOL, ignoring leading whitespace
returns true if line begins with COMMENT_SYMBOL ignoring leading whitespace