class RuboCop::AST::SendNode

def negation_method?

Returns:
  • (Boolean) - whether this method is a negation method
def negation_method?
  keyword_bang? || keyword_not?
end