# MultipleIterator::containsIterator

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

MultipleIterator::containsIterator — Checks if an iterator is attached

### 说明

public MultipleIterator::containsIterator(Iterator `$iterator`): bool

Checks if an iterator is attached or not.

警告

本函数还未编写文档，仅有参数列表。

### 参数

`iterator`

  The iterator to check.

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- MultipleIterator::valid() - Checks the validity of sub iterators

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open