MultipleIterator::containsIterator

Checks if an iterator is attached

Description

public bool MultipleIterator::containsIterator(Iterator $iterator)

Checks if an iterator is attached or not.

Parameters

iterator
The iterator to check.

Return Values

Returns true if iterator is attached, false otherwise.

See Also

  • MultipleIterator::attachIterator
  • MultipleIterator::detachIterator
  • MultipleIterator::countIterators