R/maybe.R
just.Rd
Create a 'Just' variant of a maybe value
just(a)
A value to wrap in a 'Just' container
A 'Just' variant of a maybe value
just(1) #> Just #> [1] 1 just("hello") #> Just #> [1] "hello"