Sha256: 0915ce92bb54e905387b7907e98982620cb7143f7b44291974fb2e592602fe00

Contents?: true

Size: 470 Bytes

Versions: 28

Compression:

Stored size: 470 Bytes

Contents

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>;

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.25 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.24 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.23 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.22 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.21 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.20 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.19 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.18 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.17 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.16 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.15 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.14 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.13 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.12 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.11 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.10 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.9 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.8 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts
clapton-0.0.7 lib/clapton/javascripts/node_modules/type-fest/source/greater-than-or-equal.d.ts