the_lhs: Find the "lhs" in the pipeline

View source: R/utils_pipe.R

the_lhsR Documentation

Find the "lhs" in the pipeline

Description

This function finds the left-hand sided symbol in a magrittr pipe and returns it as a character.

Usage

the_lhs()

Value

Left-hand sided symbol as string in the magrittr pipe.

References

https://github.com/tidyverse/magrittr/issues/115#issuecomment-173894787

Examples

blah <- function(x) the_lhs()
adtte %>%
  blah()

visR documentation built on Nov. 21, 2023, 1:07 a.m.