Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "translators/helpers"

Index

Functions

getNumbers

  • getNumbers(start: number, end: number): number[]
  • Parameters

    • start: number
    • end: number

    Returns number[]

getNumbersWithOrdinalIndicators

  • getNumbersWithOrdinalIndicators(start: number, end: number): string[]
  • Parameters

    • start: number
    • end: number

    Returns string[]

getOrdinalIndicator

  • getOrdinalIndicator(num: number): "st" | "nd" | "rd" | "th"
  • Parameters

    • num: number

    Returns "st" | "nd" | "rd" | "th"

lookupTranslator

  • lookupTranslator(lookup: object): (Anonymous function)
  • Parameters

    • lookup: object
      • [token: string]: string

    Returns (Anonymous function)

Generated using TypeDoc