Unknowntype
Why a figure in a profile could not be worked out, so a page can say it plainly: "no-colour-or-type" the catalogue gives no colour and no usable type, "no-parallax" no parallax, "poor-parallax" a parallax whose error is
half of it or more, "implausible-parallax" a parallax that gives a size no star of that kind has, "no-typical-radius" no typical size is published for the type, "no-class" no luminosity class, "odd-type" a type
the scales do not cover (carbon, S, Wolf-Rayet, white dwarf).
Import it
import type { Unknown } from "@johnmorrisdotca/hoshi-stars/profile";
Definition
type Unknown = "no-colour-or-type" | "no-parallax" | "poor-parallax" | "implausible-parallax" | "no-typical-radius" | "no-class" | "odd-type";
Examples
import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starProfile, type Unknown } from "@johnmorrisdotca/hoshi-stars/profile";
const why: Unknown | undefined = starProfile(starByName("Deneb")!).unknown.radius;
console.log(why);no-parallaxWhat it prints (run when this page was built)