This is a generalisation of ifelse that accepts an object and return an objects
ifelse_pipe(.x, .p, .f1, .f2 = NULL)
.x
A tibble
.p
A boolean
.f1
A function
.f2