Just wondering if there is any benefit (performance or otherwise) to using double bang in this scenario:
const isUser = users && !!users.find((u) => u.id === '123')
if(isUser) {
console.log('is user')
}
Does it make sense to use double bang here? Wondering if converting it from a user object to boolean has any benefits when checking it with if(isUser)