grpc-string-utils
Advanced tools
Comparing version
@@ -33,8 +33,9 @@ // index.js | ||
exports.isNull; | ||
//---- Exports | ||
module.exports = isNull; | ||
String.prototype.isEmpty = function() { | ||
return isNull(this) || this.trim().length === 0 || this.trim() === '' | ||
}; | ||
{ | ||
"name": "grpc-string-utils", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "gRPC driven string utility functions.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
15478
0.63%34
3.03%