sxgo/stringsx/stringsx.go
soup 173d775ae2
Initial commit: shared Go utilities (ssr, stringsx)
Extracted from sweeper to share across Go projects:
- ssr: template caching and SSR writer
- stringsx: string helpers
2026-01-13 10:43:04 -05:00

9 lines
218 B
Go

// Package stringsx provides string-related helpers.
package stringsx
import "strings"
// IsBlank reports whether a string contains only whitespace.
func IsBlank(s string) bool {
return strings.TrimSpace(s) == ""
}