class RuboCop::AST::IfNode

def modifier_form?

Returns:
  • (Boolean) - whether the `if` node is a modifier
def modifier_form?
  (if? || unless?) && super
end