isGenericS4 {R.methodsS3}R Documentation

Checks if a function is a S4 generic function

Description

Checks if a function is a S4 generic function.

Usage

## Default S3 method:
isGenericS4(fcn, ...)

Arguments

fcn A function or a character string.
... Not used.

Details

A function is considered to be a generic S4 function if its body, that is the source code, contains the regular pattern "standardGeneric".

Value

Returns TRUE if a generic S4 function, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)


[Package R.methodsS3 version 1.0.3 Index]