SplDoublyLinkedList::offsetExists
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplDoublyLinkedList::offsetExists — 指定した $index が存在するかどうかを返す
説明
public function SplDoublyLinkedList::offsetExists(
int $index):
bool
戻り値
指定した index が存在する場合に true、
それ以外の場合に false を返します。