public function Collection::offsetExists

ArrayAccess implementation of offsetExists()

Parameters

string $offset Array key:

Return value

bool

File

drupal/core/vendor/guzzle/common/Guzzle/Common/Collection.php, line 268

Class

Collection
Key value pair collection object

Namespace

Guzzle\Common

Code

public function offsetExists($offset) {
  return $this
    ->hasKey($offset) !== false;
}