lithium\util\Collection::offsetExists()

public method

Checks whether or not an offset exists.

Parameters

  • string $offset

    An offset to check for.

Returns

boolean

true if offset exists, false otherwise.

Source

	public function offsetExists($offset): bool {
		return array_key_exists($offset, $this->_data);
	}