What is the best way to get the subcommand from the command?

I have a command that uses subcommands. I know that there is an interaction.options._subcommand private property that returns exactly what I need. Is there any other recommended public property that can give me the name of the subcommand used?
Thanks!
Was this page helpful?