mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-12 06:10:26 +08:00
v1.4.1
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/iwind/TeaGo/lists"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -133,3 +134,12 @@ func parseKeywordValue(value string) (arg splitArg) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func ListIsGreaterEqualThanOther(list []string, otherList []string) bool {
|
||||
for _, v := range otherList {
|
||||
if !lists.Contains(list, v) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user