NEAR_STAR_LIMIT_LYconstant
The distance this table goes to, in light-years: a system whose primary is nearer than this, with its distance known to 10% or better, is in.
Import it
import { NEAR_STAR_LIMIT_LY } from "@johnmorrisdotca/hoshi-stars/near-stars";
Definition
const NEAR_STAR_LIMIT_LY: 20 = 20
Examples
import { NEAR_STAR_LIMIT_LY, nearStars } from "@johnmorrisdotca/hoshi-stars/near-stars";
console.log(NEAR_STAR_LIMIT_LY, nearStars().every((s) => s.lightYears <= NEAR_STAR_LIMIT_LY));20 trueWhat it prints (run when this page was built)