Skip to contents

Filter and unwrap a list of 'Just' values

Usage

filter_justs(.l)

Arguments

.l

List of maybe values

Value

A list of values

Examples

filter_justs(list(just(1), nothing(), just("a")))
#> [[1]]
#> [1] 1
#> 
#> [[2]]
#> [1] "a"
#>