Skip to content

Instantly share code, notes, and snippets.

@hiquest hiquest/truthy.md
Last active Aug 4, 2018

Embed
What would you like to do?
Truthy check in JavaScript vs. Python vs. Ruby
Value JavaScript Ruby Python
null false false false
0 false true false
"" false true false
[] true true false
{} true true false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.