DEV Community 👩‍💻👨‍💻

Discussion on: How Do You Name Your Boolean Variables?

Collapse
 
pcrunn profile image
Alexander P.

In that case I wouldn't use a boolean but an object. To check if it exists, I'd check if it's null or not.