Requests_Utility_CaseInsensitiveDictionary::offsetExists()
Check if the given item exists
{} It's a method of the class: Requests_Utility_CaseInsensitiveDictionary{}
No Hooks.
Return
true|false
. Does the item exist?
Usage
$Requests_Utility_CaseInsensitiveDictionary = new Requests_Utility_CaseInsensitiveDictionary(); $Requests_Utility_CaseInsensitiveDictionary->offsetExists( $key );
- $key(string) (required)
- Item key
Code of Requests_Utility_CaseInsensitiveDictionary::offsetExists() Requests Utility CaseInsensitiveDictionary::offsetExists WP 6.0
public function offsetExists($key) { $key = strtolower($key); return isset($this->data[$key]); }