Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Country

Index

Functions

  • getAllCountries(): ICountry[]
  • getAllCountriesByContinent(continentCode: string): ICountry[]
  • get all country by continent code

    Parameters

    • continentCode: string

    Returns ICountry[]

    {(ICountry[])}

  • getAllCountriesBySubregion(subregion: string): ICountry[]
  • Get all countries of region

    Parameters

    • subregion: string

    Returns ICountry[]

    {ICountry[]}

  • getCountryByCode(code: string): undefined | ICountry
  • get country by iso2 or iso3 code

    Parameters

    • code: string

    Returns undefined | ICountry

    {(ICountry | undefined)}

Generated using TypeDoc