forked from waja/action-debian-package
update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
33
node_modules/ramda/src/xor.js
generated
vendored
Normal file
33
node_modules/ramda/src/xor.js
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
var _curry2 =
|
||||
/*#__PURE__*/
|
||||
require("./internal/_curry2");
|
||||
/**
|
||||
* Exclusive disjunction logical operation.
|
||||
* Returns `true` if one of the arguments is truthy and the other is falsy.
|
||||
* Otherwise, it returns `false`.
|
||||
*
|
||||
* @func
|
||||
* @memberOf R
|
||||
* @since v0.27.0
|
||||
* @category Logic
|
||||
* @sig a -> b -> Boolean
|
||||
* @param {Any} a
|
||||
* @param {Any} b
|
||||
* @return {Boolean} true if one of the arguments is truthy and the other is falsy
|
||||
* @see R.or, R.and
|
||||
* @example
|
||||
*
|
||||
* R.xor(true, true); //=> false
|
||||
* R.xor(true, false); //=> true
|
||||
* R.xor(false, true); //=> true
|
||||
* R.xor(false, false); //=> false
|
||||
*/
|
||||
|
||||
|
||||
var xor =
|
||||
/*#__PURE__*/
|
||||
_curry2(function xor(a, b) {
|
||||
return Boolean(!a ^ !b);
|
||||
});
|
||||
|
||||
module.exports = xor;
|
Loading…
Add table
Add a link
Reference in a new issue