GoLang Swoole\Connection\Iterator::valid

request it (251)
GoLang replacement for PHP's Swoole\Connection\Iterator::valid [edit | history]

Do you know a GoLang replacement for PHP's Swoole\Connection\Iterator::valid? Write it!

PHP Swoole\Connection\Iterator::valid

PHP original manual for Swoole\Connection\Iterator::valid [ show | php.net ]


(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::validCheck if current position is valid.


public boolean Swoole\Connection\Iterator::valid ( void )

Checks if the current position is valid.


This function has no parameters.

Return Values

Returns TRUE if the current iterator position is valid, otherwise FALSE.