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

Function LastIndexOf2

extensions/strings.cc:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int64_t LastIndexOf2(const StringValue& haystack, const StringValue& needle) {
128 return haystack.LastIndexOf(needle).value_or(-1);
129}
130
131Value LastIndexOf3(const StringValue& haystack, const StringValue& needle,
132 int64_t pos) {

Callers

nothing calls this directly

Calls 1

LastIndexOfMethod · 0.80

Tested by

no test coverage detected