This commit is contained in:
GoEdgeLab
2024-07-27 14:15:25 +08:00
parent be70925770
commit 5a17ae9d79
520 changed files with 2515 additions and 762 deletions

View File

@@ -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
}