With \cs_generate_variant:Nn one can derive new function variants from a base variant by just giving the original, full function name (N) and the argument specifiers for the function to derive (n).
The description gives an a idea of its use. But I would like to see a self contained example.
Answers using \cs_generate_variant on this site are generally with empty code blocks. The focus is never practical. At other times, the question is about a problem, meaning that the code is defective and thus not intended for learning purposes.
VVvariant of your command would take the value of two variables as the arguments rather than thennversion which takes the literal argument tokens. – David Carlisle Oct 01 '23 at 16:16