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

Method StartsWith

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

Source from the content-addressed store, hash-verified

2851
2852struct StartsWith : StringHolder {
2853 StartsWith(NSString *substr) : StringHolder(substr) {
2854 }
2855
2856 bool match(NSString *str) const override {
2857 return (str != nil || m_substr == nil) && [str rangeOfString:m_substr].location == 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected