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_fileCode
public function valid() {
return $this->position < $this->nodeList->length;
}