Hacker News new | ask | show | jobs
by IceMetalPunk 1464 days ago
JS/TS dev here. I tend to stick with a nullable boolean. For me, "no value" is usually pretty equivalent with "null" in general, and the data type I choose to use depends only on the non-null possibilities.