body: Extract or Replace the Body of a Function Definition

Description Usage Arguments

View source: R/rlanguge.R

Description

This function extracts or replaces the body of the given function definition.

Usage

1
2
3
body(fun)

body(fun, envir) <- value

Arguments

fun

(Function) The function definition from which to extract or replace the body.

envir

Currently unused.

value

The value to replace the body with.


nick-ulle/ast documentation built on Oct. 18, 2019, 4:37 a.m.