mirror of
https://github.com/Chenyu550/alist-fork.git
synced 2025-06-10 14:46:53 -04:00
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
|
|
} |