SplDoublyLinkedList::offsetExists

Returns whether the requested $index exists

Description

public bool SplDoublyLinkedList::offsetExists(int $index)

Parameters

index

The index being checked.

Return Values

true if the requested index exists, otherwise false