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

Method Is

interpreter/attributes.go:1683–1685  ·  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

1681
1682// Is implements the errors.Is() method used by more recent versions of Go.
1683func (e *resolutionError) Is(err error) bool {
1684 return err.Error() == e.Error()
1685}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.95

Tested by

no test coverage detected