Looking for guidance on dictionary conditions:
dict = {
"a": 1,
"b" : 2
}
I'm trying to create a condition that returns true if "a" is 1 and "b" is 2, extending to additional key-value pairs. Can anyone advise on the best approach to take?
I've come across Object.keys()
and Object.values()
while researching, but I'm uncertain how to implement them logically.