UNPKG

typedash

Version:

modern, type-safe collection of utility functions

9 lines (7 loc) 282 B
/** * Checks if a value is not null or undefined. * @param value The value to inspect. * @returns Returns `true` if the value is NOT `null` or `undefined`, or `false` otherwise. */ declare function isNonNullable<T>(value: T): value is NonNullable<T>; export { isNonNullable };