this post was submitted on 22 Nov 2023
295 points (100.0% liked)
196
16597 readers
2653 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Lua is the same. Only
false
andnil
are "falsey".I remember I fixed a bug in a mod for Minetest that assumed
0
was false and caused an infinite loop.