Requests_Utility_CaseInsensitiveDictionary::offsetExists

Advertisement

Summery Summery

Check if the given item exists

Syntax Syntax

Requests_Utility_CaseInsensitiveDictionary::offsetExists( string $key )

Parameters Parameters

$key

(string) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.