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 Spotfire 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.1.4-13
Package Index