module RuboCop::AST::MethodIdentifierPredicates

def nonmutating_hash_method?

Returns:
  • (Boolean) - whether the method is a nonmutating Hash method
def nonmutating_hash_method?
  NONMUTATING_HASH_METHODS.include?(method_name)
end