2019-09-21 14:59:48 -07:00
|
|
|
// Test PascaLIGO boolean operators
|
|
|
|
|
2020-02-10 19:27:58 +01:00
|
|
|
function or_true (const b : bool) : bool is b or True
|
2019-05-12 20:56:22 +00:00
|
|
|
|
2020-02-10 19:27:58 +01:00
|
|
|
function or_false (const b : bool) : bool is b or False
|
2019-05-12 20:56:22 +00:00
|
|
|
|
2020-02-10 19:27:58 +01:00
|
|
|
function and_true (const b : bool) : bool is b and True
|
2019-05-12 20:56:22 +00:00
|
|
|
|
2020-02-10 19:27:58 +01:00
|
|
|
function and_false (const b : bool) : bool is b and False
|
2019-09-24 12:18:07 -07:00
|
|
|
|
2020-02-10 19:27:58 +01:00
|
|
|
function not_bool (const b : bool) : bool is not b
|