This question already has an answer here:
This tests if a map contains a certain value:
_, ok := myMap["foo"]
Is there a way to use this check in an if statement, so that I can chain multiple tests together?
if ("foo" in map1) || ("bar" in map2) {
// do stuff
}
</div>