MCPcopy Create free account
hub / github.com/cel-expr/cel-go / indexOf

Function indexOf

ext/strings.go:635–637  ·  view source on GitHub ↗
(str, substr string)

Source from the content-addressed store, hash-verified

633}
634
635func indexOf(str, substr string) (int64, error) {
636 return indexOfOffset(str, substr, int64(0))
637}
638
639func indexOfOffset(str, substr string, offset int64) (int64, error) {
640 off := int(offset)

Callers 1

CompileOptionsMethod · 0.85

Calls 1

indexOfOffsetFunction · 0.85

Tested by

no test coverage detected