UNPKG

@sapphire/utilities

Version:
15 lines (12 loc) 609 B
'use strict'; 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