find_call_piped: Finds the call that generated the value that was passed...

Description Usage Arguments Value

View source: R/find_call_piped.R

Description

This function that receives a value through a pipe, then traces it through the stack to find the original pipe call and returns it. The usage for this is when you want to write a function that receives code rather than a value. You can put it as the first line of code in your function to enable code to be piped. However, this defeats the purpose of the pipe and can cause confusion for someone looking at your code.

Usage

1

Arguments

.piped

A value passed through a pipe.

Value

call


frite documentation built on July 1, 2018, 5:04 p.m.