kingthrillgore to 196@lemmy.blahaj.zone · 1 year agodoes this code run ruleimagemessage-square43fedilinkarrow-up1293arrow-down10
arrow-up1293arrow-down1imagedoes this code run rulekingthrillgore to 196@lemmy.blahaj.zone · 1 year agomessage-square43fedilink
minus-squareDie Martin Die@sh.itjust.workslinkfedilinkarrow-up8·1 year agoLua is the same. Only false and nil are “falsey”. I remember I fixed a bug in a mod for Minetest that assumed 0 was false and caused an infinite loop.
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.