DWARF_IDS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The dwarf planets besides Pluto, nearest the Sun first (by the size of their orbits).
インポート
import { DWARF_IDS } from "@johnmorrisdotca/wakusei-planets";
定義
const DWARF_IDS: readonly ["ceres", "orcus", "haumea", "quaoar", "makemake", "gonggong", "eris", "sedna"] = ["ceres", "orcus", "haumea", "quaoar", "makemake", "gonggong", "eris", "sedna"] as const
例
import { DWARF_IDS } from "@johnmorrisdotca/wakusei-planets";
console.log(DWARF_IDS.join(", "));ceres, orcus, haumea, quaoar, makemake, gonggong, eris, sedna出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。