GMod ConCommand Exists?

Hello, I was just wondering if there’s a way to check if a concommand exists or not with Lua. Thanks!

I’m guessing it would go along the lines of something like this:

if ConVarExists( "sv_voiceenable" ) then
print( "Convar exists!" )
print( "Convar doesn't exist!" )

Yea I think that’s right. Hope that command doesn’t screw you over.

Oh god, I told you not to.

Anyways, if you just need to know if the command exists on certain server, all you have to do is type a part of it and the rest should appear under it, if you need it for a script then just use **[G.ConVarExists](**