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

Method EndsWith

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

Source from the content-addressed store, hash-verified

2863};
2864struct EndsWith : StringHolder {
2865 EndsWith(NSString *substr) : StringHolder(substr) {
2866 }
2867
2868 bool match(NSString *str) const override {
2869 return (str != nil || m_substr == nil) && [str rangeOfString:m_substr].location == [str length] - [m_substr length];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected