リファレンス · <wakusei-space> 要素 (地球・月・太陽・惑星をその位置に)
SPACE_BODIES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The eleven bodies the space view places, names and lets a reader choose: the Earth, the Sun, the Moon, the seven other planets and Pluto.
インポート
import { SPACE_BODIES } from "@johnmorrisdotca/wakusei-planets/space/element";
定義
const SPACE_BODIES: readonly ["earth", "sun", "moon", "mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] = ["earth", "sun", "moon", ...SPACE_PLANETS] as const
例
import { SPACE_BODIES } from "@johnmorrisdotca/wakusei-planets/space/element";
console.log(SPACE_BODIES.join(", "));この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。