fix logical or

This commit is contained in:
Jeff Hykin 2024-05-25 13:17:47 -04:00
parent 01b6beb111
commit 06688e3ab8

View file

@ -1,5 +1,5 @@
# #
# foundation contains functions that only depend on builtins or themself # foundation contains functions that only depend on builtins or themself (no inter-dependence or ordering)
# #
let let
loadStatic = (folder: loadStatic = (folder:
@ -402,7 +402,7 @@ let
: 2\. Function argument : 2\. Function argument
*/ */
or = x: y: x || y; logicalOr = x: y: x || y;
/** /**
boolean and boolean and
@ -580,7 +580,7 @@ in
const = const; const = const;
pipe = pipe; pipe = pipe;
concat = concat; concat = concat;
or = or; logicalOr = logicalOr; # cant use "or" directly because it's a keyword
and = and; and = and;
xor = xor; xor = xor;
bitNot = bitNot; bitNot = bitNot;