module RuboCop::AST::MethodIdentifierPredicates

def operator_method?

Returns:
  • (Boolean) - whether the method is an operator
def operator_method?
  OPERATOR_METHODS.include?(method_name)
end