Skip to content

five-on-it / packages/world/src/pieces / districtTitle

Function: districtTitle() ​

districtTitle(name): string

Defined in: packages/world/src/pieces.ts:608

The title a district without one is shown by: its name, its underscores as spaces, each word capitalised (old_town → Old Town).

Parameters ​

name ​

string

Returns ​

string