Learn R Programming

R.oo (version 1.2.7)

isGenericS3: Checks if a function is a S3/UseMethod generic function

Description

Checks if a function is a S3/UseMethod generic function.

Usage

## S3 method for class 'default}(fcn, ...)':
isGenericS3undefined

fcn{A function.}
  ...{Not used.}

A function is considered to be a generic S3/UseMethod function if its body, that is the source code, contains the regular pattern "UseMethod[(]".
Returns TRUE if a generic S3/UseMethod function, otherwise FALSE. [object Object] programming methods

Arguments