blob: 5e72f1cde9e1c577df17dbd93ba01bd51ab567cc [file] [log] [blame]
khenaidoo5fc5cea2021-08-11 17:39:16 -04001// Copyright 2020 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Joey Armstrongba3d9d12024-01-15 14:22:11 -05005//go:build go1.13
khenaidoo5fc5cea2021-08-11 17:39:16 -04006// +build go1.13
7
8package errors
9
10import "errors"
11
12// Is is errors.Is.
13func Is(err, target error) bool { return errors.Is(err, target) }