Reference · The realistic Earth's pure parts
bodyLabelTextfunction
The name written on the Earth: EARTH, or 地球 for a Japanese page.
Import it
import { bodyLabelText } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
function bodyLabelText(language: "en" | "ja"): string
Parameters
| Name | Type | Description |
|---|---|---|
language | "en" | "ja" |
|
Returns
string
The text.
Examples
import { bodyLabelText } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(bodyLabelText("en"), bodyLabelText("ja"));EARTH 地球What it prints (run when this page was built)