UNPKG

@bitty/nullish

Version:

Nullish helper functions and types for TypeScript.

1 lines 455 B
{"version":3,"file":"main.mjs","sources":["../src/main.js"],"sourcesContent":["/**\n * Check if value is nullish (`void`, `null` or `undefined`).\n * @param {*} value - Value that will be checked.\n * @returns {Boolean}\n */\nexport default function isNullish(value) {\n return value == null;\n}\n//# sourceMappingURL=main.js.map"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,KAAK,EAAE;AACzC,IAAI,OAAO,KAAK,IAAI,IAAI;AACxB;;;;"}