module RuboCop::AST::MethodDispatchNode

def macro?

Returns:
  • (Boolean) - whether the dispatched method is a macro method

Other tags:
    Note: - This does not include DSLs that use nested blocks, like RSpec
def macro?
  !receiver && macro_scope?
end