TokyoTyrantIterator::valid
(PECL tokyo_tyrant >= 0.2.0)
TokyoTyrantIterator::valid — Rewinds the iterator
说明
public TokyoTyrantIterator::valid
( void
) : bool
Checks whether the internal pointer points to valid element.
参数
此函数没有参数。
返回值
Returns TRUE
if the current item is valid and FALSE
if not.
参见
- TokyoTyrantIterator::key() - Returns the current key
- TokyoTyrantIterator::current() - Get the current value
- TokyoTyrantIterator::next() - Move to next key
- TokyoTyrantIterator::rewind() - Rewinds the iterator