リファレンス · メシエ天体ではない NGC・IC 天体の名前の一覧 (別のかたまり)
findNgcIc関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The NGC or IC row a name or number names exactly (NGC 7000, North America Nebula, ic 434), or undefined.
インポート
import { findNgcIc } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
定義
function findNgcIc(text: string): NameRow | undefined
引数
| 名前 | 型 | 説明 |
|---|---|---|
text | string | What was typed. |
戻り値
NameRow | undefined
The row, or undefined.
例
import { findNgcIc } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
console.log(findNgcIc("North America Nebula")?.id);ngc7000出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。