public function ListInterface::isEmpty

Determines whether the list contains any non-empty items.

Return value

boolean TRUE if the list is empty, FALSE otherwise.

2 methods override ListInterface::isEmpty()
ItemList::isEmpty in drupal/core/lib/Drupal/Core/TypedData/ItemList.php
Implements \Drupal\Core\TypedData\ListInterface::isEmpty().
Sequence::isEmpty in drupal/core/lib/Drupal/Core/Config/Schema/Sequence.php
Implements Drupal\Core\TypedData\ListInterface::isEmpty().

File

drupal/core/lib/Drupal/Core/TypedData/ListInterface.php, line 31
Contains \Drupal\Core\TypedData\ListInterface.

Class

ListInterface
Interface for a list of typed data.

Namespace

Drupal\Core\TypedData

Code

public function isEmpty();