Skip to content

containsHex

containsHex(shape, coordinates): boolean

Defined in: src/coordinates/coordinates.ts:154

Checks whether an axial coordinate is inside a supported board shape.

GameboardShape

HexCoordinates

boolean