func Contains[T comparable]()

in pkg/util/collections/collections.go [33:40]


func Contains[T comparable](slice []T, element T) bool {
	for _, item := range slice {
		if item == element {
			return true
		}
	}
	return false
}