Get list of primative unary fns.

# S3 method for UnaryFnList
as.list(x, ...)

Arguments

x

UnaryFn derived classe to extract

...

not used.

Value

list of non UnaryFnList functions

Examples

as.list(pkgfn("base::sin", "x"))
#> [[1]] #> [1] "base::sin(x=., )" #>
as.list(c(pkgfn("base::sin", "x"), pkgfn("base::cos", "x")))
#> [[1]] #> [1] "base::sin(x=., )" #> #> [[2]] #> [1] "base::cos(x=., )" #>