Returns the zero-based index of the row (rank) for this square. The index starts at 0 for the 1st rank and ends at 7 for the 8th rank.
Note: Requires an external function getRow to be defined.
The row index (0-7).
1.0.0-beta.1