typedash
Version:
modern, type-safe collection of utility functions
19 lines (17 loc) • 484 B
JavaScript
//#region src/functions/isNonNullable/isNonNullable.ts
/**
* Checks if a value is not null or undefined.
* @param value The value to inspect.
* @returns Returns `true` if the value is NOT `null` or `undefined`, or `false` otherwise.
*/
function isNonNullable(value) {
return value != null;
}
//#endregion
Object.defineProperty(exports, 'isNonNullable', {
enumerable: true,
get: function () {
return isNonNullable;
}
});
//# sourceMappingURL=isNonNullable-DCJRGkLe.cjs.map