提交 99843472 authored 作者: mooncake9527's avatar mooncake9527

update

上级 3dfd3e72
......@@ -313,7 +313,7 @@ func JoinStrs[T IJoin](rs []T, connector string) string {
return strings.Join(strs, connector)
}
func AllNotEmpty(rs []string) bool {
func AllNotEmpty(rs ...string) bool {
if len(rs) == 0 {
return false
}
......@@ -326,7 +326,7 @@ func AllNotEmpty(rs []string) bool {
return ret
}
func AllEmpty(rs []string) bool {
func AllEmpty(rs ...string) bool {
if len(rs) == 0 {
return false
}
......@@ -339,7 +339,7 @@ func AllEmpty(rs []string) bool {
return ret
}
func AnyEmpty(rs []string) bool {
func AnyEmpty(rs ...string) bool {
if len(rs) == 0 {
return false
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论