unionIterator() public method

Returns an iterator which will return unique values present in the first or second iterator.
public unionIterator ( Traversable $iterator, Traversable $otherIterator ) : Pinq\Iterators\IWrapperIterator
$iterator Traversable
$otherIterator Traversable
return Pinq\Iterators\IWrapperIterator
Example #1
0
 public function union($values)
 {
     return $this->constructScopedSelf($this->scheme->unionIterator($this->elements, $this->scheme->toIterator($values)));
 }