UNPKG

pure-conditions

Version:
5 lines (4 loc) 161 B
function isBitwiseAlternativeNegation (value1, value2) { return !!((value1 && !value2) || (!value1 && value2)) } module.exports = isBitwiseAlternativeNegation