ligo/test/contracts/boolean_operators.ligo

12 lines
315 B
Plaintext
Raw Normal View History

2019-05-13 00:56:22 +04:00
function or_true (const b : bool) : bool is
begin skip end with b or True
function or_false (const b : bool) : bool is
begin skip end with b or False
function and_true (const b : bool) : bool is
begin skip end with b and True
function and_false (const b : bool) : bool is
begin skip end with b and False