Find element in a vector and extract name not indice

which_in(x, y)

Arguments

x

a vector (scalar is also evaluated to TRUE)

y

a vector