Reference · Country card element
KUNI_CARD_FIELDSconstant
The fields a card can show, in any order; facts retain their recorded year.
Import it
import { KUNI_CARD_FIELDS } from "@johnmorrisdotca/kuni/element";
Also exported from: @johnmorrisdotca/kuni/element/define
Definition
const KUNI_CARD_FIELDS: readonly ["name", "codes", "flag", "map", "capital", "population", "area", "continent", "subregion", "currency", "languages", "calling-code", "tld", "zones", "ioc"] = ["name", "codes", "flag", "map", "capital", "population", "area", "continent", "subregion", "currency", "languages", "calling-code", "tld", "zones", "ioc"] as const
Examples
import { KUNI_CARD_FIELDS } from "@johnmorrisdotca/kuni/element";
console.log(KUNI_CARD_FIELDS.includes("population")); // truetrueWhat it prints (run when this page was built)