pointResolversMap top-level constant
Implementation
const pointResolversMap = {
Direction.top: [Direction.top, Direction.bottom],
Direction.bottom: [Direction.bottom, Direction.top],
Direction.right: [Direction.right, Direction.left],
Direction.left: [Direction.left, Direction.right]
};