noPromiseAsBooleanRule.js
function isBooleanBinaryExpression(node) {
    return node.kind === ts.SyntaxKind.BinaryExpression && binaryBooleanExpressionKind(node) !== undefined;
}
function isBooleanBinaryExpression(node) {
    return node.kind === ts.SyntaxKind.BinaryExpression && binaryBooleanExpressionKind(node) !== undefined;
}
function isBooleanBinaryExpression ( node ) { return node . kind === ts . SyntaxKind . BinaryExpression && binaryBooleanExpressionKind ( node ) !== undefined ; }
Matches `&&` and `||` operators.
Matches && and || operators .