Requests_Utility_CaseInsensitiveDictionary::offsetExists() WordPress Method
This is the Requests_Utility_CaseInsensitiveDictionary::offsetExists() method. It checks whether an offset exists in the dictionary. The offset can be an integer or a string. If the offset exists, the method returns true. Otherwise, it returns false.
Requests_Utility_CaseInsensitiveDictionary::offsetExists( string $key ) #
Check if the given item exists
Contents
Parameters
- $key
(string)(Required)Item key
Return
(boolean) Does the item exist?
Source
File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
public function offsetExists($key) { $key = strtolower($key); return isset($this->data[$key]); }
Expand full source codeCollapse full source codeView on TracView on GitHub