SplDoublyLinkedList::offsetExists
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplDoublyLinkedList::offsetExists — Returns whether the requested $index exists
Опис
public SplDoublyLinkedList::offsetExists(
int $index
):
bool
Параметри
index
-
The index being checked.
Значення, що повертаються
true
if the requested index
exists, otherwise false