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 · Cities: lookups and loading (the tiers load on demand; the size counts every tier)

CityAttype

A city and how far it is from the point asked about.

Import it

import type { CityAt } from "@johnmorrisdotca/kuni/cities";

Definition

interface CityAt {
    city: City;
    km: number;
}

Members

NameTypeDescription
cityCity

The city that was found.

kmnumber

The great-circle distance to it, in kilometres, on a sphere of the earth's mean radius (6,371 km).

Examples

import type { CityAt } from "@johnmorrisdotca/kuni/cities";

const value: CityAt | null = null;
console.log(value);
null

What it prints (run when this page was built)

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