DaffCountry
A representation of a country on the planet Earth. See: ISO-3166
import { DaffCountry } from '@daffodil/geography'
interface DaffCountry {
name: string
name_en: string
alpha2: string
alpha3: string
subdivisions: DaffSubdivision[]
loaded: boolean
}
Properties
Name | Type | Description |
---|---|---|
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. |