maybe_equal | R Documentation |
If both values are 'Nothing' variants or both values are 'Just' variants with
identical contents TRUE
will be returned, otherwise FALSE
.
maybe_equal(.m1, .m2)
.m1 |
A maybe value |
.m2 |
A maybe value |
TRUE
or FALSE
maybe_equal(just(1), just(1))
maybe_equal(just(1), just(2))
maybe_equal(nothing(), nothing())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.