choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
13 lines (10 loc) • 356 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = isEmpty;
function isEmpty(value) {
var allowBlank = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
return value === null || value === undefined || (allowBlank ? false : value === '');
}
//# sourceMappingURL=isEmpty.js.map