messier関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The 110 Messier objects, M1 first and M110 last. M102 is the one the literature disagrees about: Messier's own description matches M101 (a repeat of it), and the modern lists take it for the
lenticular galaxy NGC 5866, which is what this table does (a note on M102 is in NOTICE.md). M40 (Winnecke 4, a double star) and M73 (four stars) are in the list as other, since Messier
listed them.
インポート
import { messier } from "@johnmorrisdotca/hoshi-stars/deep-sky";
定義
function messier(): DeepSkyObject[]
戻り値
DeepSkyObject[]
A fresh array of the shared, frozen objects.
例
import { messier } from "@johnmorrisdotca/hoshi-stars/deep-sky";
console.log(messier().length, messier()[30]?.name);110 Andromeda Galaxy出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。