I'd like to state the variable that has been assigned to an argument in a function. Function is more complex, but an example scenario is below, where I want the function to return the name of the variable: x
e.g.
x <- 3
my_function <- function(arg1) {print(arg1)}
where: my_function(x) will return x
and: my_function(y) will return y
Is this possible?