Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Number/LowerEq"

Index

Type aliases

Type aliases

LowerEq

LowerEq<N1, N2>: GreaterEq<N2, N1>

Check if a Number is lower or equal to another one

Type parameters

returns

Boolean

example

import {N} from 'ts-toolbelt'

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

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