Determines whether the list contains any non-empty items.
Return value
boolean
TRUE if the list is empty, FALSE otherwise.
File
- drupal/core/lib/Drupal/Core/TypedData/ListInterface.php, line 31
- Definition of Drupal\Core\TypedData\ListInterface.
Class
- ListInterface
- Interface for a list of typed data.
Namespace
Drupal\Core\TypedData
Code
public function isEmpty();