getCol

fun getCol(): Int

Returns the zero-based index of the column (file) for this square. The index starts at 0 for the A-file and ends at 7 for the H-file.

Note: Requires an external function getCol to be defined.

Return

The column index (0-7).

Since

1.0.0-beta.1