MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / Contains

Method Contains

Bcore/src/main/cpp/Dobby/tests/catch.hpp:2840–2841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2838
2839struct Contains : StringHolder {
2840 Contains(NSString *substr) : StringHolder(substr) {
2841 }
2842
2843 bool match(NSString *str) const {
2844 return (str != nil || m_substr == nil) && [str rangeOfString:m_substr].location != NSNotFound;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected