This message was deleted.
# typescript
s
This message was deleted.
s
@busy-magazine-48939 Simply use
tag["subnetType"] === subnetTag
. This kind of object is often called a hashmap, if you want to search for it 🙂 (https://stackoverflow.com/a/30019750/1168315). To be safe, you should also check if there are any tags at all.
Actually, it’s confusing that the value isn’t typed as
string
.