# Swoole\Connection\Iterator::valid

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::valid — Check if current position is valid.

### 说明

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

Checks if the current position is valid.

### 参数

此函数没有参数。

### 返回值

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open