php8.5
Home/ Manual/ connection / iterator/ Swoole\Connection\Iterator::valid

Swoole\Connection\Iterator::valid

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Check if current position is valid.

Description

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

Checks if the current position is valid.

Parameters Parameters

Return Values

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

Source: reference/swoole/swoole/connection/iterator/valid.xml · from the official PHP manual (php/doc-en)