You are here

public function vfsStreamContainerIterator::valid in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php \org\bovigo\vfs\vfsStreamContainerIterator::valid()

checks if the current value is valid

Return value

bool

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php, line 89

Class

vfsStreamContainerIterator
Iterator for children of a directory container.

Namespace

org\bovigo\vfs

Code

public function valid() {
  return false !== current($this->children);
}