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

Function StringContains

runtime/standard/string_functions.cc:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool StringContains(const StringValue& value, const StringValue& substr) {
54 return value.Contains(substr);
55}
56
57bool StringEndsWith(const StringValue& value, const StringValue& suffix) {
58 return value.EndsWith(suffix);

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected