File: strings.go

package info (click to toggle)
golang-github-zitadel-oidc 3.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 1,484 kB
  • sloc: makefile: 5
file content (9 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package strings

import "slices"

// Deprecated: Use standard library [slices.Contains] instead.
func Contains(list []string, needle string) bool {
	// TODO(v4): remove package.
	return slices.Contains(list, needle)
}