get_method2: Select a binary method

Description Usage Arguments

View source: R/dispatch.R

Description

This retrieves the method selected by binary dispatch without calling it. The arguments dispatched on are stored in the .dispatched pronoun.

Usage

1
get_method2(generic, x, y, env = caller_env())

Arguments

generic

The name of the generic as a string.

x

Objects to dispatch on.

y

Objects to dispatch on.

env

The environment in which to find or define methods.


lionel-/coercer documentation built on May 3, 2019, 8:59 p.m.