module RuboCop::AST::MethodIdentifierPredicates

def prefix_not?

Returns:
  • (Boolean) - whether this method is a prefix not
def prefix_not?
  negation_method? && loc.selector.is?('not')
end