kingthrillgore@lemmy.ml to 196 · 1 年前does this code run rulelemmy.mlimagemessage-square43fedilinkarrow-up1295
arrow-up1295imagedoes this code run rulelemmy.mlkingthrillgore@lemmy.ml to 196 · 1 年前message-square43fedilink
minus-squareDie Martin Die@sh.itjust.workslinkfedilinkarrow-up8·1 年前Lua 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.