mirror of https://github.com/Xhofe/alist
10 lines
161 B
Go
10 lines
161 B
Go
![]() |
package utils
|
||
|
|
||
|
func IsContain(items []string, item string) bool {
|
||
|
for _, eachItem := range items {
|
||
|
if eachItem == item {
|
||
|
return true
|
||
|
}
|
||
|
}
|
||
|
return false
|
||
|
}
|