| 13819 | } |
| 13820 | |
| 13821 | bool startsWith( std::string const& s, std::string const& prefix ) { |
| 13822 | return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); |
| 13823 | } |
| 13824 | bool startsWith( std::string const& s, char prefix ) { |
| 13825 | return !s.empty() && s[0] == prefix; |
| 13826 | } |
no test coverage detected