kingthrillgore to [email protected] • 1 year agodoes this code run rulelemmy.mlimagemessage-square40fedilinkarrow-up1281arrow-down13
arrow-up1278arrow-down1imagedoes this code run rulelemmy.mlkingthrillgore to [email protected] • 1 year agomessage-square40fedilink
minus-square@[email protected]linkfedilink12•1 year agoIt would filter out values that cast to False, no?
minus-square@[email protected]linkfedilink2•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