src/Neuron/Collections/Collection.php
public function peek()
	{
		if (isset ($this->data[$this->position + 1]))
		{
			return $this->data[$this->position + 1];
		}
		return null;
	}
public function peek()
	{
		if (isset ($this->data[$this->position + 1]))
		{
			return $this->data[$this->position + 1];
		}
		return null;
	}
public function peek ( ) { if ( isset ( $ this -> data [ $ this -> position + 1 ] ) ) { return $ this -> data [ $ this -> position + 1 ] ; } return null ; }
Return the next element without increasing position.
@return mixed|null
Return the next element without increasing position .