Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

Reference · The <chikyu-space> element

BodyNametype

The name of one of the bodies in BODY_NAMES.

Import it

import type { BodyName } from "@johnmorrisdotca/chikyu-earth/space/element";

Definition

type BodyName = (typeof BODY_NAMES)[number];

Examples

import { BODY_NAMES, type BodyName } from "@johnmorrisdotca/chikyu-earth/space/element";

const mars: BodyName = "Mars";
console.log(BODY_NAMES.includes(mars));

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.11.0.