module RuboCop::AST::MethodIdentifierPredicates

def nonmutating_binary_operator_method?

Returns:
  • (Boolean) - whether the method is a nonmutating binary operator method
def nonmutating_binary_operator_method?
  NONMUTATING_BINARY_OPERATOR_METHODS.include?(method_name)
end