7 lines
173 B
JavaScript
7 lines
173 B
JavaScript
exports.isEmptyForString = function(text){
|
|
return !((typeof text === "string") && (
|
|
text === undefined ||
|
|
text === null ||
|
|
text === ""
|
|
));
|
|
}; |