You are here

public function ArrayObject::offsetExists in Express 8

Returns whether the requested key exists.

Parameters

mixed $key: A key.

Return value

bool TRUE or FALSE

6 calls to ArrayObject::offsetExists()
ArrayObject::offsetGet in themes/contrib/bootstrap/src/Utility/ArrayObject.php
Returns the value at the specified key.
ArrayObject::offsetUnset in themes/contrib/bootstrap/src/Utility/ArrayObject.php
Unsets the value at the specified key.
ArrayObject::__isset in themes/contrib/bootstrap/src/Utility/ArrayObject.php
Returns whether the requested key exists.
Attributes::hasAttribute in themes/contrib/bootstrap/src/Utility/Attributes.php
Indicates whether a specific attribute is set.
Element::hasProperty in themes/contrib/bootstrap/src/Utility/Element.php
Indicates whether the element has a specific property.

... See full list

File

themes/contrib/bootstrap/src/Utility/ArrayObject.php, line 304
Contains \Drupal\bootstrap\Utility\ArrayObject.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

public function offsetExists($key) {
  return isset($this->array[$key]);
}