TokyoTyrantIterator::rewind
TokyoTyrantException
TokyoTyrantIterator
PHP Manual

# TokyoTyrantIterator::valid

(PECL tokyo_tyrant >= 0.2.0)

TokyoTyrantIterator::valid — Rewinds the iterator

### Descrição

public bool TokyoTyrantIterator::valid ( void )

Checks whether the internal pointer points to valid element.

### Parâmetros

Esta função não possui parâmetros.

### Valor Retornado

Returns `TRUE` if the current item is valid and `FALSE` if not.

### Veja Também

- TokyoTyrantIterator::key() - Returns the current key
- TokyoTyrantIterator::current() - Get the current value
- TokyoTyrantIterator::next() - Move to next key
- TokyoTyrantIterator::rewind() - Rewinds the iterator

TokyoTyrantIterator::rewind
TokyoTyrantException
TokyoTyrantIterator
PHP Manual