Description Usage Arguments Details Author(s)
Takes a nonprimitive function with arguments, and returns a modified function that checks the types of each argument.
1 |
func |
Any non-primative function with arguments. |
... |
Name value pairs of arguments to func, and their associated type(ie "numeric") or type check function(ie is.numeric). Check args will use either. |
If multiple name value pairs in ... contain the same name, checkArgs will do two checks on that argument. However, this is not reccomended.
Sam Murray <slmurray@andrew.cmu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.