const data = [
{
name: "Kris",
Tel: 000000,
address:""
},
{
name: "Mark",
Tel: 111111,
address:"USA"
},
{
name: "Charie",
Tel: null,
address:""
},
]
I want to find() empty prop in this array if i has find empty or null i want to return true and break to return so i dont' know how
expect: boolean type for return
from now i use
const checkEmtry = () => data.forEach(e => Object.values(e).find(x => (x === null) || x === '' ) )