summaryrefslogtreecommitdiff
path: root/vendor/github.com/zeebo/errs/is_go1.20.go
blob: 6f8799aa482040d84dae7c35520c53a2ce26da39 (plain)
1
2
3
4
5
6
7
8
//go:build go1.20

package errs

import "errors"

// Is checks if any of the underlying errors matches target
func Is(err, target error) bool { return errors.Is(err, target) }