Mastodon hachyterm.io

Here are all falsy values:

JavaScriptPython 3Clojure/ClojureScript
FalsyfalseFalsefalse
nullNonenil
NaN
undefined
0 (zero)0
0.00.0
"" (empty string)"" (empty string)
[] (empty list)
() (empty tuple)
{} (empty dict)
set() (empty set)
b'' (empty byte)

Everything else is truthy.

Further Reading