Answers for "check if input have word not space only"

0

check if input have word not space only

if (/\s/.test(str)) {
    // It has any kind of whitespace
}
Posted by: Guest on January-02-2021

Code answers related to "check if input have word not space only"

Browse Popular Code Answers by Language