Skip to content

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

Function: districtOf() ​

districtOf(spec, cell): number

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

The district a block is in: the one that lists it, else the first.

Parameters ​

spec ​

TownSpec

cell ​

Cell

Returns ​

number