module RuboCop::AST::MethodIdentifierPredicates
def nonmutating_array_method?
-
(Boolean)
- whether the method is a nonmutating Array method
def nonmutating_array_method? NONMUTATING_ARRAY_METHODS.include?(method_name) end
(Boolean)
- whether the method is a nonmutating Array method
def nonmutating_array_method? NONMUTATING_ARRAY_METHODS.include?(method_name) end