Leveltype
A level of subdivision: 1 for a country's first division, 2 and 3 for those inside one, or "all".
Import it
import type { Level } from "@johnmorrisdotca/kuni/subdivisions";
Definition
type Level = 1 | 2 | 3 | "all";
Examples
import type { Level } from "@johnmorrisdotca/kuni/subdivisions";
const value: Level = "all";
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);allWhat it prints (run when this page was built)