Learn R Programming

functionMap (version 1.0.0)

maybe_s3_method: Predicate to pre-filter possible S3 methods

Description

An S3 method of a generic must start with the name of the generic, then have a dot, and some extra characters. It must also call `UseMethod`, but that is not checked here, but elsewhere.

Usage

maybe_s3_method(generic, method)

Arguments

generic
Name of the S3 generic.
method
Name of the alleged S3 method.

Value

Logical scalar.