@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
15 lines (12 loc) • 609 B
JavaScript
;
var isNullOrUndefined_cjs = require('./isNullOrUndefined.cjs');
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
function isNullOrUndefinedOrEmpty(value) {
return isNullOrUndefined_cjs.isNullish(value) || value.length === 0;
}
__name(isNullOrUndefinedOrEmpty, "isNullOrUndefinedOrEmpty");
exports.isNullOrUndefinedOrEmpty = isNullOrUndefinedOrEmpty;
exports.isNullishOrEmpty = isNullOrUndefinedOrEmpty;
//# sourceMappingURL=isNullOrUndefinedOrEmpty.cjs.map
//# sourceMappingURL=isNullOrUndefinedOrEmpty.cjs.map