Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Integer

Integer: typeof t.Integer

IntegerFromString

IntegerFromString: t.TypeOf<typeof IntegerFromString>

NonNegativeInteger

NonNegativeInteger: t.TypeOf<typeof NonNegativeInteger>

NonNegativeNumber

NonNegativeNumber: t.TypeOf<typeof NonNegativeNumber>

NumberFromString

NumberFromString: t.TypeOf<typeof NumberFromString>

WithinRangeInteger

WithinRangeInteger<L, H>: Integer & IWithinRangeIntegerTag<L, H>

Type parameters

  • L: number

  • H: number

WithinRangeNumber

WithinRangeNumber<L, H>: number & IWithinRangeNumberTag<L, H>

Type parameters

  • L: number

  • H: number

Variables

Const IntegerFromString

IntegerFromString: RefinementC<Type<number, string, unknown>> = ...

Parses a string into an integer

Const NonNegativeInteger

NonNegativeInteger: Tagged<INonNegativeIntegerTag, number, number, unknown> = ...

A non negative integer

Const NonNegativeNumber

NonNegativeNumber: Tagged<INonNegativeNumberTag, number, number, unknown> = ...

A non negative number

Const NumberFromString

NumberFromString: Type<number, string, unknown> = ...

Parses a string into a decimal

Functions

Const WithinRangeInteger

  • WithinRangeInteger<L, H, T>(l: L, h: H): Tagged<T, number, number, unknown>

Const WithinRangeNumber

  • WithinRangeNumber<L, H, T>(l: L, h: H): Tagged<T, number, number, unknown>

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Enumeration
  • Class with type parameter

Generated using TypeDoc