Answers for "typescript string null or white space"

1

typescript string null or white space

function isEmptyOrSpaces(str){
    return str === null || str.match(/^ *$/) !== null;
}
Posted by: Guest on April-01-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language