MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / contains

Function contains

extlibs/catch/include/catch/catch.hpp:13187–13189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13185 return !s.empty() && s[s.size()-1] == suffix;
13186 }
13187 bool contains( std::string const& s, std::string const& infix ) {
13188 return s.find( infix ) != std::string::npos;
13189 }
13190 void toLowerInPlace( std::string& s ) {
13191 std::transform( s.begin(), s.end(), s.begin(), toLowerCh );
13192 }

Callers 2

matchMethod · 0.70
matchesMethod · 0.70

Calls 1

findMethod · 0.45

Tested by

no test coverage detected