function validateDataObj(data) { for (const key in data) { if (![ 'List', 'Group', 'email' ].includes(key)) return false; } return true; }
— Something like that?
— Yea
— It is the same
— But i think my solution is cleaner
— I think i will start using rambda
— I should too tbh
— More functional oriented
— Curso de Vue.js com cupom de 100% de desconto: https://www.udemy.com/vue-web-apps/?couponCode=GOHACKERS&pmtag=CTBO1202&siteID=MhbOGzq4cI4-kW.oXEWO9ehhdCszMpyOUw&LSNPUBID=MhbOGzq4cI4