- :logical
whitespace?
check if given string consists only of whitespace
Parameters
whitespace? string :string
Returns
Examples
copywhitespace? "hello" ; => false whitespace? " " ; => true whitespace? "\n \n" ; => true
whitespace? string :string
copywhitespace? "hello" ; => false whitespace? " " ; => true whitespace? "\n \n" ; => true