hasNext method

bool hasNext()

test if has next symbol

Implementation

bool hasNext() {
  return has(1);
}