toInt method

int toInt()

Get the depth as an integer.

Implementation

int toInt() {
  return depth;
}