This is a generalisation of ifelse that accepts an object and return an objects

ifelse_pipe(.x, .p, .f1, .f2 = NULL)

Arguments

.x

A tibble

.p

A boolean

.f1

A function

.f2

A function

Value

A tibble