SplDoublyLinkedList
PHP Manual

SplDoublyLinkedList::isEmpty

(PHP 5 >= 5.3.0, PHP 7)

SplDoublyLinkedList::isEmptyChecks whether the doubly linked list is empty

说明

public bool SplDoublyLinkedList::isEmpty ( void )

参数

此函数没有参数。

返回值

Returns whether the doubly linked list is empty.


SplDoublyLinkedList
PHP Manual