Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Iterator.php

function Iterator::hasChildren

Checks whether the current element has children.

File

vendor/phpunit/php-code-coverage/src/Node/Iterator.php, line 83

Class

Iterator
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Node

Code

public function hasChildren() : bool {
    return $this->nodes[$this->position] instanceof Directory;
}
RSS feed
Powered by Drupal