starRotationfunction
The Bright Star Catalogue's projected rotation speed (v sin i) of a star, if it gives one.
Import it
import { starRotation } from "@johnmorrisdotca/hoshi-stars/profile";
Definition
function starRotation(hr: number): StarRotation | undefined
Parameters
| Name | Type | Description |
|---|---|---|
hr | number | The Bright Star Catalogue number. |
Returns
StarRotation | undefined
The speed with the catalogue's flags, or undefined.
Examples
import { starRotation } from "@johnmorrisdotca/hoshi-stars/profile";
console.log(starRotation(7557)?.vSinIKmS, starRotation(2061));242 undefinedWhat it prints (run when this page was built)