Boolean(a || b)makes sense. One of the properties of
(<|>)is that the return value is always one of the inputs. The operation represents a choice between two possibilities. It would not make sense for
0 <|> 1to evaluate to
True. That's my view, at any rate.
Returns true if one or both of its arguments are true. Returns false if both arguments are false.
R.or(a,b)to pick a or b and someone commented "hey this should not work. R.or is documented to return true or false. You should use something else and file an upstream ticket" ;)
R.equals(new Error('XXX'), new Error('XXX'))this evaluates to false - the tests in equals.js test for it to be true