directionTypeBetween method

DirectionType directionTypeBetween(
  1. int a,
  2. int b
)

Determine what sort of direction connects a and b.

Implementation

DirectionType directionTypeBetween(int a, int b) =>
    directionBetween(a, b).type;