Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia9c1e9b0a8cd9c6d834f153609baa5426a6a6964
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
|