I have a map which i am populating from a json file, similar to the below
key: ConfigItem
value: Var1,Var2,Var3
key: ConfigItem2
value: Var1,Var2,Var3,var4
key: ConfigItem3
value: true
i want to be able to run an if statement to check if a value is contained within the "ConfigItem" key, and if so, do something.
I looked at map.get and map.has but i can't seem to be able to figure out how to search a specific key and return if it contains a specific value.