Does it matter if the `!` is at the beginning or end of the boolean?


#1

Question

Does it matter if the ! is at the beginning or end of the boolean?

Answer

Yes, ! must appear at the beginning of the boolean. Think of it as saying “if not condition”, “if condition not” sounds awkward.