MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / IndexOf2

Function IndexOf2

extensions/strings.cc:114–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114int64_t IndexOf2(const StringValue& haystack, const StringValue& needle) {
115 return haystack.IndexOf(needle).value_or(-1);
116}
117
118Value IndexOf3(const StringValue& haystack, const StringValue& needle,
119 int64_t pos) {

Callers

nothing calls this directly

Calls 1

IndexOfMethod · 0.45

Tested by

no test coverage detected