Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

LowerEq

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

Check if a [[Number]] is lower or equal to another one

Type parameters

  • N1: number

    to compare

  • N2: number

    to compare to

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

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.