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>
22 lines
470 B
Text
22 lines
470 B
Text
import type {GreaterThan} from './greater-than';
|
|
|
|
/**
|
|
Returns a boolean for whether a given number is greater than or equal to another number.
|
|
|
|
@example
|
|
```
|
|
import type {GreaterThanOrEqual} from 'type-fest';
|
|
|
|
GreaterThanOrEqual<1, -5>;
|
|
//=> true
|
|
|
|
GreaterThanOrEqual<1, 1>;
|
|
//=> true
|
|
|
|
GreaterThanOrEqual<1, 5>;
|
|
//=> false
|
|
```
|
|
*/
|
|
export type GreaterThanOrEqual<A extends number, B extends number> = number extends A | B
|
|
? never
|
|
: A extends B ? true : GreaterThan<A, B>;
|