ParentBodytype
The comet or asteroid a shower's meteors come from, as the IAU Meteor Data Center names it.
Import it
import type { ParentBody } from "@johnmorrisdotca/chikyu-earth/meteors";
Definition
interface ParentBody {
designation: string;
kind: "comet" | "asteroid";
}
Members
| Name | Type | Description |
|---|---|---|
designation | string | The designation as the MDC writes it: |
kind | "comet" | "asteroid" |
Examples
import { METEOR_LINKS } from "@johnmorrisdotca/chikyu-earth/meteors";
const parent = METEOR_LINKS.find((link) => link.code === "PER")?.parent;
console.log(parent?.designation, parent?.kind);109P/Swift-Tuttle cometWhat it prints (run when this page was built)