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?
2 Replies
If you're doing this a lot, you might consider declaring a type:
And using that throughout the app. I am just assuming this reduces the overall work of the type checker.
that makes sense, ty!