UNPKG

@bitty/nullish

Version:

Nullish helper functions and types for TypeScript.

16 lines (12 loc) 340 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /** * Check if value is nullish (`void`, `null` or `undefined`). * @param {*} value - Value that will be checked. * @returns {Boolean} */ function isNullish(value) { return value == null; } exports.default = isNullish; //# sourceMappingURL=main.js.map