ligo/src/test/contracts/boolean_operators.religo
2019-12-10 13:47:31 +00:00

12 lines
262 B
Plaintext

// Test ReasonLIGO boolean operators
let or_true = (b: bool): bool => b || true;
let or_false = (b: bool): bool => b || false;
let and_true = (b: bool): bool => b && true;
let and_false = (b: bool): bool => b && false;
let not_bool = (b: bool): bool => !b;