module RuboCop::AST::MethodIdentifierPredicates

def comparison_method?

Returns:
  • (Boolean) - whether the method is a comparison
def comparison_method?
  Node::COMPARISON_OPERATORS.include?(method_name)
end