dots_n: How many arguments are currently forwarded in dots?

View source: R/dots.R

dots_nR Documentation

How many arguments are currently forwarded in dots?

Description

This returns the number of arguments currently forwarded in ... as an integer.

Usage

dots_n(...)

Arguments

...

Forwarded arguments.

Examples

fn <- function(...) dots_n(..., baz)
fn(foo, bar)

tidyverse/rlang documentation built on Oct. 31, 2024, 5:35 p.m.