maybe_map2 | R Documentation |
Evaluate a binary function on two maybe values
maybe_map2(.m1, .m2, .f, ...)
.m1 |
A maybe value |
.m2 |
A maybe value |
.f |
A binary function to apply to the maybe values |
... |
Named arguments for the function |
A maybe value
maybe_map2(just(1), just(2), `+`)
maybe_map2(nothing(), just(2), `/`)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.