-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I discovered that
if not item in items
items.push item
Doesn't work. I discovered that the syntax was
if item not in items
But shouldn't my original expression still work? Shouldn't the not still negate the item in items boolean result? I realize my original may not read as nicely, but both make logical sense.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels