SyntaxFix
Write A Post
Hire A Developer
Questions
/\S/.test(string) returns true if and only if there's a non-space character in string. Tab and newline count as spaces.
/\S/.test(string)
string