Skip to content

five-on-it / packages/catalogue/src/compound-fields / checkCompoundWalls

Function: checkCompoundWalls() ​

checkCompoundWalls(c, at, add): void

Defined in: packages/catalogue/src/compound-fields.ts:83

The checks of a compound's walls once each field is well formed: the delivery gate and the gap on walls beside the main gate's, never the same one; each problem said at its field's path, below at.

Parameters ​

c ​

delivery? ​

"north" | "east" | "south" | "west"

gap? ​

"north" | "east" | "south" | "west"

gate ​

"north" | "east" | "south" | "west"

at ​

(string | number)[]

add ​

(path, message) => void

Returns ​

void