module RuboCop::AST::MethodDispatchNode

def lambda?

Returns:
  • (Boolean) - whether this method is a lambda
def lambda?
  block_literal? && command?(:lambda)
end