whyFamousfunction
A short reason a constellation is worth finding, for the few that have one, else undefined.
Import it
import { whyFamous } from "@johnmorrisdotca/hoshi-stars/sheets";
Definition
function whyFamous(abbreviation: string, lang?: Lang): string | undefined
Parameters
| Name | Type | Description |
|---|---|---|
abbreviation | string | The IAU abbreviation ( |
lang (optional) | Lang |
|
Returns
string | undefined
A sentence, or undefined.
Examples
import { whyFamous } from "@johnmorrisdotca/hoshi-stars/sheets";
console.log(whyFamous("Cru", "en"));The Southern Cross is on the flags of Australia, New Zealand and Brazil.What it prints (run when this page was built)