swfscMisc (version 1.3)

one.arg: One Argument

Description

Does the function have just one argument?

Usage

one.arg(f)

Arguments

f

a function.

Examples

Run this code
# NOT RUN {
one.arg(mean)
one.arg(one.arg)

# }

Run the code above in your browser using DataCamp Workspace