Rocky_Mountain_Vending/.pnpm-store/v10/files/91/31635a8aee0dfd6f542418ec5c63b0f4bd379a7512f7febc55214b980743d1bfb238183c3c1c96a2fb7c27bb122c2d887a61c57d06a3e039955ed5ec4223a6
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

20 lines
419 B
Text

/**
Returns a boolean for whether the given type is `null`.
@example
```
import type {IsNull} from 'type-fest';
type NonNullFallback<T, Fallback> = IsNull<T> extends true ? Fallback : T;
type Example1 = NonNullFallback<null, string>;
//=> string
type Example2 = NonNullFallback<number, string>;
//=? number
```
@category Type Guard
@category Utilities
*/
export type IsNull<T> = [T] extends [null] ? true : false;