import { Direction } from '../../model' ; export const isVertical = ( direction ) => direction === Direction . Up || direction === Direction . Down ; export const isPositive = ( direction ) => direction === Direction . Down || direction === Direction . Right ;