helper function parameter type

I am trying to make a basic helper function that takes in a parameter. I want the parameter type to be the same type as a column type. I have a solution, but is this the best way?
image.png
Was this page helpful?