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

Method Is

ext/formatting.go:713–715  ·  view source on GitHub ↗

Is implements errors.Is.

(target error)

Source from the content-addressed store, hash-verified

711
712// Is implements errors.Is.
713func (e formatError) Is(target error) bool {
714 return e.msg == target.Error()
715}
716
717// stringArgList implements the formatListArgs interface.
718type stringArgList struct {

Callers 1

TestNativeStructEmbeddedFunction · 0.45

Calls 1

ErrorMethod · 0.45

Tested by 1

TestNativeStructEmbeddedFunction · 0.36