SplDoublyLinkedList::isEmpty

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplDoublyLinkedList::isEmptyChecks whether the doubly linked list is empty

Description

public SplDoublyLinkedList::isEmpty(): bool

Parameters

This function has no parameters.

Return Values

Returns whether the doubly linked list is empty.