strings.ContainsNonSpace
Syntax
strings.ContainsNonSpace STRING
Returns
bool
{{ strings.ContainsNonSpace "\n" }} → false
{{ strings.ContainsNonSpace " " }} → false
{{ strings.ContainsNonSpace "\n abc" }} → true
Common whitespace characters include:
'\t', '\n', '\v', '\f', '\r', ' '
See the Unicode Character Database for a complete list.