earthFactsfunction
The three facts of the globe sheet and of the world map, in plain words. The map's are the share of the land the biggest and the smallest continents have (from the outlines) and the Pacific.
Import it
import { earthFacts } from "@johnmorrisdotca/chikyu-earth/sheets";
Definition
function earthFacts(kind: "globe" | "map", lang: Lang): string[]
Parameters
| Name | Type | Description |
|---|---|---|
kind | "map" | "globe" |
|
lang | Lang |
|
Returns
string[]
Three sentences.
Examples
import { earthFacts } from "@johnmorrisdotca/chikyu-earth/sheets";
console.log(earthFacts("map", "en")[0]);Asia is the biggest continent: 30% of the land.What it prints (run when this page was built)