How to use the xor function from ramda

Find comprehensive JavaScript ramda.xor code examples handpicked from public code repositorys.

15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
* @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
*/
fork icon0
star icon0
watch icon2

+ 15 other calls in file

Other functions in ramda

Sorted by popularity

function icon

ramda.clone is the most popular function in ramda (30311 examples)