MCPcopy
hub / github.com/apache/devlake / Is

Function Is

backend/core/errors/util.go:23–25  ·  view source on GitHub ↗

Is convenience passthrough for the native errors.Is method

(err, target error)

Source from the content-addressed store, hash-verified

21
22// Is convenience passthrough for the native errors.Is method
23func Is(err, target error) bool {
24 return errors.Is(err, target)
25}
26
27// As convenience passthrough for the native errors.As method
28func As(err error, target any) bool {

Callers 1

TestIsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsFunction · 0.68