7 ms·
It feels clever if you aren’t used to it but it is super common. isDelivered && isNotified always resolves to a Boolean, either TRUE or FALSE So you are just
by whiddershins 7y ago
It feels clever if you aren’t used to it but it is super common.
isDelivered && isNotified
always resolves to a Boolean, either TRUE or FALSE
So you are just saying
isDone = TRUE
or
isDone = FALSE
that’s all