Php/docs/arrayiterator.offsetexists

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

ArrayIterator::offsetExists

(PHP 5, PHP 7)

ArrayIterator::offsetExistsオフセットが存在するかどうかを調べる


説明

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

オフセットが存在するかどうかを調べます。

警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。


パラメータ

index
調べたいオフセット。


返り値

オフセットが存在する場合に true、それ以外の場合に false を返します。


参考