« SplDoublyLinkedList::next
SplDoublyLinkedList::offsetGet »

SplDoublyLinkedList::offsetExists

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplDoublyLinkedList::offsetExists — 指定した $index が存在するかどうかを返す

説明

public function SplDoublyLinkedList::offsetExists(int $index): bool

パラメータ

index

調べたいインデックス。

戻り値

指定した index が存在する場合に true、 それ以外の場合に false を返します。

関連キーワード:
index   SplDoublyLinkedList   offsetExists   next   offsetGet   インデックス
関連する関数・ページ:
spldoublylinkedlist.offsetget   spldoublylinkedlist.offsetunset   spldoublylinkedlist.offsetset   spldoublylinkedlist.next   spldoublylinkedlist.add   spldoublylinkedlist.current