I based this on a response from ChatGPT 4, so I thought it might be worth testing to see if it was right.
I tested a function with a similar definition and it seemed to work as intended.
I looked at CheckArguments documentation but it was kind of confusing because it used an option, which I don’t need.
I looked at CheckArguments documentation but it was kind of confusing
because it used an option, which I don’t need.
Many functions have options, most of the time you don’t need them and that is why they are optional. Why is that confusing?
Your usage of CheckArguments seems correct, and if it works for you then why not use it? It is certainly more straightforward than the resource function you linked.