Skip to contents

Retrieve an element from a loud value

Usage

pick(.l, .e)

Arguments

.l

A loud value

.e

Element of interest to retrieve, one of "result" or "log"

Value

The result or log element of the loud value .l

Examples

loud_sqrt <- loudly(sqrt)
loud_exp <- loudly(exp)
3 |> loud_sqrt() %>=% loud_exp() |> pick("result")
#> Error in loud_exp(.l$result, .log = .l$log): could not find function "loud_exp"