PHP - Manual: SplDoublyLinkedList::offsetExists
2024-11-14
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplDoublyLinkedList::offsetExists — Returns whether the requested $index exists
$index
): bool
index
The index being checked.
true
if the requested index
exists, otherwise false
官方地址:https://www.php.net/manual/en/spldoublylinkedlist.offsetexists.php