Skip to content

five-on-it / packages/shared/src/weather / climateOf

Function: climateOf() ​

climateOf(name): "none" | "temperate" | "meadow" | "forest" | "alpine" | "farmland" | "steppe" | "desert" | "autumn" | "coast"

Defined in: packages/shared/src/weather.ts:334

The climate of a region's biome (they are named alike), or a town's when it names none.

Parameters ​

name ​

string | undefined

Returns ​

"none" | "temperate" | "meadow" | "forest" | "alpine" | "farmland" | "steppe" | "desert" | "autumn" | "coast"