| Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Path : /proc/self/root/home/livedhms/lmgt/node_modules/remeda/dist/ |
| Current File : //proc/self/root/home/livedhms/lmgt/node_modules/remeda/dist/isNonNull.js.map |
{"version":3,"file":"isNonNull.js","names":[],"sources":["../src/isNonNull.ts"],"sourcesContent":["/**\n * A function that checks if the passed parameter is not `null` and narrows its type accordingly.\n * Notice that `undefined` is not null!\n *\n * @param data - The variable to check.\n * @returns True if the passed input is defined, false otherwise.\n * @signature\n * R.isNonNull(data)\n * @example\n * R.isNonNull('string') //=> true\n * R.isNonNull(null) //=> false\n * R.isNonNull(undefined) //=> true\n * @category Guard\n */\nexport function isNonNull<T>(data: T | null): data is T {\n return data !== null;\n}\n"],"mappings":"AAcA,SAAgB,EAAa,EAA2B,CACtD,OAAO,IAAS"}