kingthrillgore@lemmy.ml to 196 · 1 year agodoes this code run rulelemmy.mlimagemessage-square43fedilinkarrow-up1295
arrow-up1295imagedoes this code run rulelemmy.mlkingthrillgore@lemmy.ml to 196 · 1 year agomessage-square43fedilink
minus-squarekakes@sh.itjust.workslinkfedilinkarrow-up12·1 year agoIt would filter out values that cast to False, no?
minus-squareitslilithlinkfedilinkarrow-up2·1 year agoi wasn’t sure how to phrase it, it keeps all values that cast to True, and discards all that cast to False
It would filter out values that cast to False, no?
Like None, 0, “”, …
i wasn’t sure how to phrase it, it keeps all values that cast to True, and discards all that cast to False