reimplements tidyselect::where. This is far simpler but will suffice for our needs

where(fn)

Arguments

fn

a predicate function that should accept a value and return a logical

Value

a function that applies fn() with an input (x) and optional additional arguments