Swoole\Connection\Iterator
PHP Manual

Swoole\Connection\Iterator::offsetExists

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

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

说明

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

Check if offset exists.

参数

index

The offset being checked.

返回值

Returns TRUE if the offset exists, otherwise FALSE.


Swoole\Connection\Iterator
PHP Manual