Skip to content

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)
#> [1] 3