ndotargs
Number of ... arguments to Function

Description

Counts the number of ... arguments that are passed in the current call to the specified function.

Usage

ndotargs()
Value
returns the number of actual ... arguments in the call to the function that calls ndotargs.
Differences between TIBCO Enterprise Runtime for R and Open-source R
This function does not exist in open-source R.
See Also
nargs.
Examples
myfun <- function(..., a=4) ndotargs() 
myfun()                 # returns 0 
myfun(1:3,"bear")       # returns 2 
myfun(a=5, 1:3, "bear") # returns 2
Package terrUtils version 6.0.0-69
Package Index