Latte\TokenIterator::isNext PHP Method

isNext() public method

Checks the next token existence.
public isNext ( ) : boolean
return boolean
    public function isNext()
    {
        return (bool) $this->scan(func_get_args(), TRUE, FALSE);
        // onlyFirst
    }