filter_justs {maybe}R Documentation

Filter and unwrap a list of 'Just' values

Description

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")))

[Package maybe version 1.1.0 Index]