NearbyMagnitudeKindtype
The kind of a V magnitude in the Yale catalogue: a photoelectric V, a visual or other magnitude of lower accuracy, or a photographic blue one.
Import it
import type { NearbyMagnitudeKind } from "@johnmorrisdotca/hoshi-stars/nearby";
Definition
type NearbyMagnitudeKind = "photoelectric" | "visual" | "blue";
Examples
import { nearbyStarByName, type NearbyMagnitudeKind } from "@johnmorrisdotca/hoshi-stars/nearby";
const kind: NearbyMagnitudeKind | undefined = nearbyStarByName("Barnard's Star")!.magnitudeKind;
console.log(kind);photoelectricWhat it prints (run when this page was built)