kingthrillgore@lemmy.ml to 196@lemmy.blahaj.zone · 11 months agodoes this code run rulelemmy.mlimagemessage-square44fedilinkarrow-up1295arrow-down10
arrow-up1295arrow-down1imagedoes this code run rulelemmy.mlkingthrillgore@lemmy.ml to 196@lemmy.blahaj.zone · 11 months agomessage-square44fedilink
minus-squarekakes@sh.itjust.workslinkfedilinkarrow-up12·11 months agoIt would filter out values that cast to False, no?
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-up2·11 months 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