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