vuestic-ui
Version:
Vue 3 UI Framework
16 lines (15 loc) • 365 B
JavaScript
const nilValues = [null, void 0, ""];
const nullOrUndefined = [null, void 0];
const isNilValue = (value) => {
return nilValues.includes(value);
};
const notNil = (value) => !isNilValue(value);
const isNil = (value) => {
return nullOrUndefined.includes(value);
};
export {
isNil as a,
isNilValue as i,
notNil as n
};
//# sourceMappingURL=isNilValue.js.map