nuclei/v2/pkg/utils/utils.go
forgedhallpass 2f162e859e RES-84 # Improve Nuclei CLI interface (WIP)
* removed the generic isEmpty implementation
2021-08-03 14:51:34 +03:00

14 lines
177 B
Go

package utils
import (
"strings"
)
func IsBlank(value string) bool {
return strings.TrimSpace(value) == ""
}
func IsNotBlank(value string) bool {
return !IsBlank(value)
}