typedash
Version:
modern, type-safe collection of utility functions
1 lines • 492 B
Source Map (JSON)
{"version":3,"file":"isNonNullable-DCJRGkLe.cjs","names":[],"sources":["../src/functions/isNonNullable/isNonNullable.ts"],"sourcesContent":["/**\n * Checks if a value is not null or undefined.\n * @param value The value to inspect.\n * @returns Returns `true` if the value is NOT `null` or `undefined`, or `false` otherwise.\n */\nexport function isNonNullable<T>(value: T): value is NonNullable<T> {\n return value != null;\n}\n"],"mappings":";;;;;;;AAKA,SAAgB,cAAiB,OAAmC;AAClE,QAAO,SAAS"}