module RuboCop::AST::MethodIdentifierPredicates
def nonmutating_unary_operator_method?
-
(Boolean)
- whether the method is a nonmutating unary operator method
def nonmutating_unary_operator_method? NONMUTATING_UNARY_OPERATOR_METHODS.include?(method_name) end