Check if current position is valid.

# Swoole\Connection\Iterator::valid

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

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

### Description

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

Checks if the current position is valid.

### Liste de paramètres

Cette fonction ne contient aucun paramètre.

### Valeurs de retour

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