powered by
fn_defaults()
fn_fmls_names()
fn_fmls(fn = NULL) fn_fmls_names(fn = NULL)
formals()
is_function()
call_args()
call_args_names()
# Extract from current call: fn <- function(a = 1, b = 2) fn_fmls() fn() # Works with primitive functions: fn_fmls(base::switch)
Run the code above in your browser using DataLab