This retrieves the method selected by binary dispatch without
calling it. The arguments dispatched on are stored in the
.dispatched
pronoun.
1 | get_method2(generic, x, y, env = caller_env())
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.