UNPKG

@sap-cloud-sdk/util

Version:

SAP Cloud SDK for JavaScript general utilities

12 lines 381 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isNullish = isNullish; /** * Checks whether a value is either `null` or `undefined`. * @param val - Value to check. * @returns `true` for `null` or `undefined`, `false` otherwise. */ function isNullish(val) { return val === null || val === undefined; } //# sourceMappingURL=nullish.js.map