Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "utils"

Index

Functions

cloneInternalLocationData

getFullLocationName

  • getFullLocationName(countryOrRegion: string, provinceOrState?: undefined | string, county?: undefined | string): string
  • Parameters

    • countryOrRegion: string
    • Optional provinceOrState: undefined | string
    • Optional county: undefined | string

    Returns string

pushUnique

  • pushUnique<T>(arr: T[], el: T): void
  • Pushes an element into an array if the element doesn't already exist in the array.

    Type parameters

    • T

    Parameters

    • arr: T[]
    • el: T

    Returns void

Generated using TypeDoc