Swoole\Connection\Iterator::offsetExists

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

Swoole\Connection\Iterator::offsetExistsCheck if offet exists.

Description

public Swoole\Connection\Iterator::offsetExists ( int $index ) : boolean

Check if offset exists.

Liste de paramètres

index

The offset being checked.

Valeurs de retour

Returns TRUE if the offset exists, otherwise FALSE.