module RuboCop::AST::MethodDispatchNode
def unary_operation?
-
(Boolean)
- whether this method is a unary operation
def unary_operation? return false unless loc.selector operator_method? && loc.expression.begin_pos == loc.selector.begin_pos end