reports/frontend/node_modules/es-toolkit/dist/compat/predicate/isNull.js
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

17 lines
358 B
JavaScript

//#region src/compat/predicate/isNull.ts
/**
* Checks if `value` is `null`.
*
* @param value - The value to check.
* @returns Returns `true` if `value` is `null`, else `false`.
*
* @example
* isNull(null); // true
* isNull(undefined); // false
* isNull(0); // false
*/
function isNull(value) {
return value === null;
}
//#endregion
exports.isNull = isNull;