You are here

public function StringInputStream::valid in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php \Masterminds\HTML5\Parser\StringInputStream::valid()

Is the current pointer location valid.

Return value

bool Is the current pointer location valid.

File

vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php, line 207

Class

StringInputStream

Namespace

Masterminds\HTML5\Parser

Code

public function valid() {
  if ($this->char < $this->EOF) {
    return true;
  }
  return false;
}