module RuboCop::AST::PredicateOperatorNode

def logical_operator?

Returns:
  • (Boolean) - whether this is a logical operator
def logical_operator?
  operator == LOGICAL_AND || operator == LOGICAL_OR
end