inner_function: Retrieve the inner function contained in a wrapping function.

Description Usage Arguments Details Value

View source: R/inner_function.R

Description

Retrieve the inner function contained in a wrapping function.

Usage

1

Arguments

fn

[function]
Function object

Details

This function is a utility function that is used internally by functions that wrap soo_function objects and want to return “wrapped” versions of these functions. Such a “wrapped” function should still provide all the methods that are applicable to the “inner” function. For this to work in a generic fashion, we need a method to retrieve the inner function and continue method dispatch on it. This generic implements that interface.

Value

The inner function of fn.


olafmersmann/soobench documentation built on May 24, 2019, 12:51 p.m.