# caller_env

0th

Percentile

##### Get the environment of the caller frame

caller_frame() is a shortcut for call_frame(2) and caller_fn() and caller_env() are shortcuts for call_frame(2)$env call_frame(2)$fn.

##### Usage
caller_env(n = 1)caller_frame(n = 1)caller_fn(n = 1)
##### Arguments
n

The number of generation to go back. Note that contrarily to call_frame(), 1 represents the parent frame rather than the current frame.

call_frame()