UNPKG

@observerly/astrometry

Version:

observerly's lightweight, zero-dependency, type safe astrometry library written in Typescript for calculating the position of celestial objects in the sky.

7 lines (6 loc) 318 B
const n = (o) => typeof o == "object" && o !== null && typeof o.dec == "number" && typeof o.ra == "number", e = (o) => typeof o == "object" && o !== null && typeof o.alt == "number" && typeof o.az == "number"; export { n as isEquatorialCoordinate, e as isHorizontalCoordinate }; //# sourceMappingURL=common.js.map