Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
10 lines
113 B
Nix
10 lines
113 B
Nix
# Test logical operators
|
|
let
|
|
x = true;
|
|
y = false;
|
|
in
|
|
if x && y
|
|
then 1
|
|
else if x || y
|
|
then 2
|
|
else 3
|