Good morning guys, I'm trying to do a .find with a double condition, but it wasn't working. Am I doing something wrong?
If my object has a different condition like discount@shipping (and in this case I don't want it to be assigned to the variable) it passes the validation.
let calculoDesconto = item.PriceTags.find((n => n.Name == "DISCOUNT@MARKETPLACE") || (n => n.Name === "discount@price"));