Requests_Utility_CaseInsensitiveDictionary::offsetExists

Advertisement

Summery Summery

Check if the given item exists

Syntax Syntax

Requests_Utility_CaseInsensitiveDictionary::offsetExists( string $key )

Parameters Parameters

$key

(Required) Item key

Return Return

(boolean) Does the item exist?

Source Source

File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php

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

Advertisement

Advertisement

Leave a Reply