deepSky関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The Messier objects that meet the options, in Messier order. For the NGC and IC objects too, use deepSky from @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic.
インポート
import { deepSky } from "@johnmorrisdotca/hoshi-stars/deep-sky";
定義
function deepSky(options?: DeepSkyOptions): DeepSkyObject[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
options (省略可) | DeepSkyOptions |
|
戻り値
DeepSkyObject[]
A fresh array of the shared, frozen objects.
例
import { deepSky } from "@johnmorrisdotca/hoshi-stars/deep-sky";
console.log(deepSky({ type: "globular cluster", magnitude: 6.5 }).map((o) => o.id));[
'M2', 'M3',
'M4', 'M5',
'M13', 'M15',
'M22', 'M92'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。