mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 15:49:11 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
936 B
936 B
title | description | categories | keywords | action | aliases | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.ContainsNonSpace | Reports whether the given string contains any non-space characters as defined by Unicode’s White Space property. |
|
|
{{< new-in 0.111.0 >}}
{{ strings.ContainsNonSpace "\n" }} → false
{{ strings.ContainsNonSpace " " }} → false
{{ strings.ContainsNonSpace "\n abc" }} → true
Common white space characters include:
'\t', '\n', '\v', '\f', '\r', ' '
See the Unicode Character Database for a complete list.