Php/docs/spldoublylinkedlist.offsetexists

提供:Dev Guides
< Php
移動先:案内検索

SplDoublyLinkedList::offsetExists

(PHP 5 >= 5.3.0, PHP 7)

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


説明

public SplDoublyLinkedList::offsetExists ( mixed $index ) : bool

パラメータ

index
調べたいインデックス。


返り値

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