outOfRange method

bool outOfRange(
  1. int i
)

Implementation

bool outOfRange(int i) {
  return (i < 0 || i >= top);
}