Learn R Programming

rlang (version 0.2.2)

dots_n: 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

Run this code
# NOT RUN {
fn <- function(...) dots_n(..., baz)
fn(foo, bar)
# }

Run the code above in your browser using DataLab