I have a set for which I want to compare if it contains all the values or not.
const mySet = new Set([1,2,3,4,5])
This is what I want
const isAllActive = mySet.has(1) && mySet.has(2) && mySet.has(3) && mySet.has(4) && mySet.has(5);
am sure instead of this repetition there must be some other way to check that.