module RuboCop::AST::ModifierNode

def modifier_form?

Returns:
  • (Boolean) - whether the node is a modifier
def modifier_form?
  loc.end.nil?
end