filter_map | R Documentation |
Map a function over a list and filter only 'Just' values
filter_map(.l, .f, ...)
.l |
List of values |
.f |
A maybe returning function to apply to the maybe values |
... |
Named arguments for the function |
A list of values
filter_map(list(-1, "2", 9), maybe(sqrt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.