directionTypeBetweenString method

DirectionType directionTypeBetweenString(
  1. String a,
  2. String b
)

a and b are square names like 'd4', 'h10'.

Implementation

DirectionType directionTypeBetweenString(String a, String b) =>
    directionTypeBetween(squareNumber(a), squareNumber(b));