UNPKG

eslint-plugin-de-morgan

Version:

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

10 lines (9 loc) 398 B
import { BinaryExpression, Node } from 'estree' /** * Checks whether the given AST node is a BinaryExpression. This type guard * function verifies if the provided node is of type 'BinaryExpression'. * * @param node - The AST node to check. * @returns True if the node is a BinaryExpression, false otherwise. */ export declare function isBinaryExpression(node: Node): node is BinaryExpression