I have dictionary object dictionary withing TypeScript which is storing values in the following fashion:
{
  "abc": {
    "country": "Germany",
    "population": 83623528
  },
  "CDE": {
    "country": "Austria",
    "population": 8975552
  },
  "efg": {
    "country": "Switzerland",
    "population": 8616571
  }
}
I have another array tabledata which is storing values of keys as Name but the case for Name can be different within array.
Now, I am trying to search for values within dictionary using the following statement:
hostDictionary[tableData[i].Name]
It works fine when the case matches between tableData[i].Name and dictionary key
But I am getting null value when the case doesn't match.
For example,
hostDictionary[tableData[i].Name] is returning null when tableData[i].Name = "cde"