UNPKG

eslint-plugin-de-morgan

Version:

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

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