Swoole\Connection\Iterator::offsetExists

(PECL swoole >= 1.9.0)

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

说明

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

Check if offset exists.

参数

index

The offset being checked.

返回值

Returns TRUE if the offset exists, otherwise FALSE.