ngcIcRowByIdfunction
One NGC or IC row by its id (ngc7000, ic434).
Import it
import { ngcIcRowById } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
Definition
function ngcIcRowById(id: string): NameRow | undefined
Parameters
| Name | Type | Description |
|---|---|---|
id | string | The id. |
Returns
NameRow | undefined
The row, or undefined.
Examples
import { ngcIcRowById } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
console.log(ngcIcRowById("ngc7000")?.name.en);North America NebulaWhat it prints (run when this page was built)