• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • TokyoTyrantIterator::valid()

    (PECL tokyo_tyrant >= 0.2.0)

    Rewinds the iterator

    说明

    publicTokyoTyrantIterator::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