WpOrg\Requests\Utility
CaseInsensitiveDictionary::offsetExists()
Check if the given item exists
Method of the class: CaseInsensitiveDictionary{}
No Hooks.
Return
true|false
. Does the item exist?
Usage
$CaseInsensitiveDictionary = new CaseInsensitiveDictionary(); $CaseInsensitiveDictionary->offsetExists( $offset );
- $offset(string) (required)
- Item key
CaseInsensitiveDictionary::offsetExists() CaseInsensitiveDictionary::offsetExists code WP 6.6.2
public function offsetExists($offset) { if (is_string($offset)) { $offset = strtolower($offset); } return isset($this->data[$offset]); }