UNPKG

eslint-plugin-de-morgan

Version:

ESLint plugin for transforming negated boolean expressions via De Morgan’s laws

7 lines (6 loc) 291 B
'use strict' Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }) const isLogicalExpression = require('./is-logical-expression.js') let isDisjunction = node => isLogicalExpression.isLogicalExpression(node) && node.operator === '||' exports.isDisjunction = isDisjunction