Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

IsPositive

IsPositive<N>: _IsPositive<IterationOf<N>>

Check whether a [[Number]] is positive or not

Type parameters

  • N: number

    to check

returns

Boolean

example

import {N} from 'ts-toolbelt'

type test0 = N.IsPositive<'0'>  // False
type test1 = N.IsPositive<'-7'> // False
type test2 = N.IsPositive<'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.