| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1× 1× 1× 3× 2× 3× 1× 78× 1× 1× | "use strict";
var StringUtils = (function () {
/* istanbul ignore next */ function StringUtils() {
}
StringUtils.ensureEndsWithNewline = function (code) {
if (code[code.length - 1] !== "\n") {
code += "\n";
}
return code;
};
StringUtils.isNullOrWhiteSpace = function (str) {
return typeof str !== "string" || str.trim().length === 0;
};
return StringUtils;
}());
exports.StringUtils = StringUtils;
//# sourceMappingURL=StringUtils.js.map
|