Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace State

Index

Functions

  • getAllStates(): IState[]
  • getAllStatesByCountry(countryCode: string): IState[]
  • get all states of country by country code

    Parameters

    • countryCode: string

    Returns IState[]

    {IState[]}

  • getStateByCodeAndCountry(isoCode: string, countryCode: string): undefined | IState
  • get state by state code and country code

    Parameters

    • isoCode: string
    • countryCode: string

    Returns undefined | IState

    {(IState | undefined)}

Generated using TypeDoc