maybeSelectPreviousSegment method

bool maybeSelectPreviousSegment()

Selects the previous segment if possible. Returns true if successful.

Implementation

bool maybeSelectPreviousSegment() {
  if (_index - 1 >= 0) {
    index--;
    return true;
  }
  return false;
}