Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

Reference · Regions and international bodies

GroupingOthertype

A country that stands with a body without being a member: a candidate, an associate, an observer or suspended.

Import it

import type { GroupingOther } from "@johnmorrisdotca/kuni/groupings";

Definition

interface GroupingOther {
    code: string;
    status: GroupingStatus;
}

Members

NameTypeDescription
codestring

The country's alpha-2 code.

statusGroupingStatus

How it stands.

Examples

import type { GroupingOther } from "@johnmorrisdotca/kuni/groupings";

const value: GroupingOther = {code:"UA",status:"candidate"};
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);
[ 'code', 'status' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.4.0.