You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package validator |
|
|
|
import "strings" |
|
|
|
func IsAnyBlank(strs ...string) bool { |
|
for _, str := range strs { |
|
if strings.TrimSpace(str) == "" { |
|
return true |
|
} |
|
} |
|
return false |
|
}
|
|
|