CachingIterator::offsetExists

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

CachingIterator::offsetExistsThe offsetExists purpose

說明

public CachingIterator::offsetExists(string $key): bool
警告

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

參數(shù)

key

The index being checked.

返回值

Returns true if an entry referenced by the offset exists, false otherwise.