GoLang Swoole\Connection\Iterator::valid

request it (331)
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 ]

Swoole\Connection\Iterator::valid

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

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

Description

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

Checks if the current position is valid.

Parameters

This function has no parameters.

Return Values

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