Skip to contents

Create a 'Just' variant of a maybe value

Usage

just(a)

Arguments

a

A value to wrap in a 'Just' container

Value

A 'Just' variant of a maybe value

Examples

just(1)
#> Just
#> [1] 1
just("hello")
#> Just
#> [1] "hello"