Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript string null or white space

function isEmptyOrSpaces(str){
    return str === null || str.match(/^ *$/) !== null;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #string #null #white #space
ADD COMMENT
Topic
Name
7+7 =