ArrayIterator::offsetExists

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetExistsCheck if offset exists

說明

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

Checks if the offset exists.

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

key

The offset being checked.

返回值

true if the offset exists, otherwise false

參見