Skip to content

five-on-it / apps/client/src/ui/studio/town / removeTownElement

Function: removeTownElement() ​

removeTownElement(spec, selection): TownSpec | undefined

Defined in: apps/client/src/ui/studio/town.ts:192

A spec without what is selected (a district's blocks go back to the first; the last district and the town stay).

Parameters ​

spec ​

TownSpec

selection ​

TownSelection

Returns ​

TownSpec | undefined