dotsSubtitlefunction
The meaning of a constellation's name, for the line under its title: Orion: the Hunter, or its reading in hiragana.
Import it
import { dotsSubtitle } from "@johnmorrisdotca/hoshi-stars/sheets";
Definition
function dotsSubtitle(c: Constellation, lang: Lang): string
Parameters
| Name | Type | Description |
|---|---|---|
c | Constellation | A constellation. |
lang | Lang |
|
Returns
string
The line.
Examples
import { constellation } from "@johnmorrisdotca/hoshi-stars/constellations";
import { dotsSubtitle } from "@johnmorrisdotca/hoshi-stars/sheets";
console.log(dotsSubtitle(constellation("Ori")!, "en"), dotsSubtitle(constellation("Ori")!, "ja"));Orion: the Hunter おりおんざWhat it prints (run when this page was built)