And[x, y]
-
🔸 SHORT SYNTAX: x&&y
Return True
when all args are True
.
And
x = True;
y = True;
x && y
Or[x, y]
-
🔸 SHORT SYNTAX: x||y
Return True
if any args is True
.
Or
x = True;
y = False;
x || y
Not[x]
-
🔸 SHORT SYNTAX: !x
Return True
if arg is False
, and vice versa.
Not
x = False;
! x