Swoole\Connection\Iterator::offsetExists

(PECL swoole >= 1.9.0)

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

Description

publicSwoole\Connection\Iterator::offsetExists(int$index): bool

Check if offset exists.

Parameters

index

The offset being checked.

Return Values

Returns TRUE if the offset exists, otherwise FALSE.

To Top