+ 2
What's the difference between truth or false and truthy or falsey?
It is in reference to Ruby.
2 odpowiedzi
+ 9
the difference is like, our perception of reality maaan...
+ 2
Falsey are things that the language considers equal to FALSE. Typical candidates are 0, the empty string, the empty list, null and things like that. The exact list depends on the language.
Everything else is considered equal to TRUE. So truthy.