check length of object

PHOTO EMBED

Sun May 19 2024 04:03:24 GMT+0000 (Coordinated Universal Time)

Saved by @davidmchale #object #check #length

if(Object.keys(user).length > 0){
    console.log('objec has values')
}
content_copyCOPY