retrieveFunctionArguments {wyz.code.offensiveProgramming} | R Documentation |
Retrieve Function Arguments.
Description
Retrieve function arguments to get arguments from a function or a primitive.
Usage
retrieveFunctionArguments(fun_f_1)
Arguments
fun_f_1 |
a function or primitive. Not a string! |
Value
A pairlist
.
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
See retrieveFunctionArguments
.
See formalArgs
.
Examples
# typical test on a primitive
retrieveFunctionArguments(sin)
#$x
#
# typical test on a function
retrieveFunctionArguments(ls)
#$name
#$pos
#-1L
#$envir
#as.environment(pos)
#$all.names
#[1] FALSE
#$pattern
#
#$sorted
#[1] TRUE
[Package wyz.code.offensiveProgramming version 1.1.24 Index]