typescript empty string is number code example
Example: isnull or empty typescript
if(typeof namedProperty!='undefined' && namedProperty){
return this.namedProperty;
}
if(typeof namedProperty!='undefined' && namedProperty){
return this.namedProperty;
}