| 13808 | } |
| 13809 | |
| 13810 | bool startsWith( std::string const& s, std::string const& prefix ) { |
| 13811 | return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); |
| 13812 | } |
| 13813 | bool startsWith( std::string const& s, char prefix ) { |
| 13814 | return !s.empty() && s[0] == prefix; |
| 13815 | } |
no test coverage detected