const: Ignore the first input, return the second

Description Usage Arguments See Also

View source: R/helpers.R

Description

This function can be used to change the value in the lhs of a monadic sequence

Usage

1
const(x, r)

Arguments

x

ignored value

r

replacing value

See Also

Other helper_functions: false_as_error, false, null_as_error, toss, true


rmonad documentation built on March 26, 2020, 7:31 p.m.