Swoole\Connection\Iterator::valid

(PECL swoole >= 1.9.0)

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

Description

public Swoole\Connection\Iterator::valid(): bool

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.