anorgatarrak-wordpress-theme/node_modules/underscore.string/isBlank.js

6 lines
136 B
JavaScript

var makeString = require('./helper/makeString');
module.exports = function isBlank(str) {
return (/^\s*$/).test(makeString(str));
};