You are here

public function SpreadsheetIterator::valid in Migrate Spreadsheet 8

Same name and namespace in other branches
  1. 2.0.x src/SpreadsheetIterator.php \Drupal\migrate_spreadsheet\SpreadsheetIterator::valid()

File

src/SpreadsheetIterator.php, line 69

Class

SpreadsheetIterator
Provides a spreadsheet iterator.

Namespace

Drupal\migrate_spreadsheet

Code

public function valid() {
  return $this->relativeRow >= 0 && $this
    ->getAbsoluteRowIndex() <= $this
    ->getRowsCount();
}