The dictionary object to search, where keys are strings and values are of type T.
The key to search for in the dictionary.
Optional. If true, performs a case-insensitive key comparison. Defaults to false.
An object containing the matching key and its value if found; otherwise, undefined
.
Searches for a key-value pair in a dictionary object by key, with optional case-insensitive matching.