ligo/src/test/contracts/expected/boolean_operators.religo

10 lines
235 B
Plaintext
Raw Normal View History

2020-06-04 09:54:25 +02:00
let or_true = ((b: bool)): bool => b || true;
2020-06-03 12:41:26 +02:00
2020-06-04 09:54:25 +02:00
let or_false = ((b: bool)): bool => b || false;
2020-06-03 12:41:26 +02:00
2020-06-04 09:54:25 +02:00
let and_true = ((b: bool)): bool => b && true;
2020-06-03 12:41:26 +02:00
2020-06-04 09:54:25 +02:00
let and_false = ((b: bool)): bool => b && false;
2020-06-03 12:41:26 +02:00
2020-06-04 09:54:25 +02:00
let not_bool = ((b: bool)): bool => ! b;