You are here

public function RecursiveDOMIterator::valid in Translation Management Tool 8

Checks if current position is valid.

Return value

bool Is valid.

File

translators/tmgmt_file/src/RecursiveDOMIterator.php, line 94

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Namespace

Drupal\tmgmt_file

Code

public function valid() {
  return $this->position < $this->nodeList->length;
}