ngcIcRowsfunction
The rows of the NGC and IC objects that are not Messier objects (11,788), brightest first (an object with no magnitude comes after those with one), as a fresh array. The ids are ngc7000, ic434; the Messier objects are in /names.
Import it
import { ngcIcRows } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
Definition
function ngcIcRows(options?: { kinds?: readonly NameKind[]; }): NameRow[]
Parameters
| Name | Type | Description |
|---|---|---|
options (optional) | { kinds?: readonly NameKind[]; } |
|
Returns
NameRow[]
The rows.
Examples
import { ngcIcRows } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";
console.log(ngcIcRows().length, ngcIcRows({ kinds: ["nebula"] }).length);11788 351What it prints (run when this page was built)