Reference · PG subdivision facts
SUBDIVISION_FACTSconstant
The facts about the subdivisions of Papua New Guinea, in code order, one for each subdivision, every level. Also the default export.
Import it
import { SUBDIVISION_FACTS } from "@johnmorrisdotca/kuni/subdivision-facts/pg";
Definition
const SUBDIVISION_FACTS: readonly SubdivisionFacts[] = expandSubdivisionFacts(PG)
Examples
import facts from "@johnmorrisdotca/kuni/subdivision-facts/pg";
console.log(facts.length); // 22
console.log(facts[0].code); // "PG-CPK"22
PG-CPKWhat it prints (run when this page was built)