Checks if a string contains any whitespace.
The string to check.
True if the string contains whitespace.
containsWhitespace("Hello world") // truecontainsWhitespace("Nowordspace") // false Copy
containsWhitespace("Hello world") // truecontainsWhitespace("Nowordspace") // false
Checks if a string contains any whitespace.