isBlank.js 136 Bytes edit raw blame history 1 2 3 4 5 var makeString = require('./helper/makeString'); module.exports = function isBlank(str) { return (/^\s*$/).test(makeString(str)); };