R/numargs.R

Defines functions numargs

Documented in numargs

numargs <-
function(func) {
  stopifnot(is.function(func))
  length(formals(func))
}
vlulla/vlutils documentation built on May 21, 2019, 12:35 a.m.