Rocky_Mountain_Vending/.pnpm-store/v10/files/42/091f785cd46b4ce2aceba9af06b72734eda4d34ff0ceb6327a810c2ffbcf4ac25e1c78d0e8df3822260558f33c51da678804c3c8012708fd8df5ff2bb2807d
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

25 lines
513 B
Text

import type {IsEqual} from './is-equal';
/**
Returns a boolean for whether either of two given types are true.
Use-case: Constructing complex conditional types where multiple conditions must be satisfied.
@example
```
import type {Or} from 'type-fest';
Or<true, false>;
//=> true
Or<false, false>;
//=> false
```
@see {@link And}
*/
export type Or<A extends boolean, B extends boolean> = [A, B][number] extends false
? false
: true extends [IsEqual<A, true>, IsEqual<B, true>][number]
? true
: never;