isSafeCellIndex function

bool isSafeCellIndex(
  1. int globalIndex
)

Whether the given absolute index into kPathCells is a safe cell.

Implementation

bool isSafeCellIndex(int globalIndex) => kSafeIndices.contains(globalIndex);