GitHub

DaffCountry

import { DaffCountry } from '@daffodil/geography'

A representation of a country on the planet Earth. See: ISO-3166

interface DaffCountry {
  name: string
  name_en: string
  alpha2: string
  alpha3: string
  subdivisions: DaffSubdivision[]
  loaded: boolean
}

Properties

name
string
name_en
string
alpha2
string
alpha3
string
subdivisions
DaffSubdivision[]
loaded
boolean

Whether or not the country has been fully loaded. If true, the subdivisions field will be populated if any exist.