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-squarekakes@sh.itjust.workslinkfedilinkarrow-up12·1 year agoIt would filter out values that cast to False, no?
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-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