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

Method Is

interpreter/attributes.go:1477–1479  ·  view source on GitHub ↗

Is implements the errors.Is() method used by more recent versions of Go.

(err error)

Source from the content-addressed store, hash-verified

1475
1476// Is implements the errors.Is() method used by more recent versions of Go.
1477func (e *resolutionError) Is(err error) bool {
1478 return err.Error() == e.Error()
1479}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.95

Tested by

no test coverage detected