module RuboCop::AST::MethodIdentifierPredicates

def nonmutating_operator_method?

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