whitespace?

check if given string consists only of whitespace


Parameters

whitespace? string :string

Returns

  • :logical

Examples

copy
whitespace? "hello" ; => false whitespace? " " ; => true whitespace? "\n \n" ; => true

Related