Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Number/GreaterEq"

Index

Type aliases

Type aliases

GreaterEq

GreaterEq<N1, N2>: _GreaterEq<IterationOf<N1>, IterationOf<N2>>

Check if a Number is greater or equal to another one

Type parameters

returns

Boolean

example

import {N} from 'ts-toolbelt'

type test0 = N.GreaterEq<'7', '5'> // True
type test1 = N.GreaterEq<'5', '5'> // True
type test2 = N.GreaterEq<'5', '7'> // False

_GreaterEq

_GreaterEq<N1, N2>: Or<Equals<N1, N2>, _Greater<N1, N2>>

Type parameters

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.