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 July 17, 2018, 4:16 a.m.