policies = [ "Waste & Recycling (Packaging/Office/Facility/Retail)" "Waste & Recycling (Product/Textiles)" ] vals = [] vals.push "Yes - own operations" if policies.filter((p) -> m1.includes p).length vals.push "Yes - supply chain" if policies.filter((p) -> m2.includes p).length if vals.length vals else "No"