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