GoLang Swoole\Connection\Iterator::offsetExists

request it (86)
GoLang replacement for PHP's Swoole\Connection\Iterator::offsetExists [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Connection\Iterator::offsetExists? Write it!

PHP Swoole\Connection\Iterator::offsetExists

PHP original manual for Swoole\Connection\Iterator::offsetExists [ show | php.net ]

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 boolean Swoole\Connection\Iterator::offsetExists ( int $index )

Check if offset exists.

Parameters

index

The offset being checked.

Return Values

Returns TRUE if the offset exists, otherwise FALSE.