OrbitKind型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What kind of orbit a satellite or a group is in: leo (low, below 2,000 km), meo (medium, up to about 35,000 km: the navigation satellites), geo (about 35,786 km up, where a satellite goes round once
a day; over the equator it sits still over one place), heo (a long oval that swings far out) or mixed (a group with more than one kind).
インポート
import type { OrbitKind } from "@johnmorrisdotca/chikyu-earth/satellites";
定義
type OrbitKind = "leo" | "meo" | "geo" | "heo" | "mixed";
例
import type { OrbitKind } from "@johnmorrisdotca/chikyu-earth/satellites";
const sitsStill = (orbit: OrbitKind): boolean => orbit === "geo";
console.log(sitsStill("geo"));true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。