CatalogueReadtype
What readCatalogueRecords found: the records that can be used, and how many were left out (a number missing or not a number, or an orbit that is not an ellipse).
Import it
import type { CatalogueRead } from "@johnmorrisdotca/chikyu-earth/catalogue";
Definition
interface CatalogueRead {
records: CatalogueRecord[];
skipped: number;
}
Members
| Name | Type | Description |
|---|---|---|
records | CatalogueRecord[] | |
skipped | number |
Examples
import type { CatalogueRead } from "@johnmorrisdotca/chikyu-earth/catalogue";
const say = (read: CatalogueRead): string => `${read.records.length} kept, ${read.skipped} left out`;
console.log(typeof say);functionWhat it prints (run when this page was built)