isGenericS4 {R.methodsS3} | R Documentation |
Checks if a function is a S4 generic function.
## Default S3 method:
isGenericS4(fcn, envir=parent.frame(), ...)
fcn |
|
... |
Not used. |
A function is considered to be a generic S4 function if its
body, that is the source code, contains the regular pattern
"standardGeneric"
.
Returns TRUE
if a generic S4 function, otherwise FALSE
.
Henrik Bengtsson