Skip to content

Function: isConsoleCommandAvailable() ​

ts
function isConsoleCommandAvailable(command: string): boolean;

Whether the running engine registers a console command. Many debug commands exist only outside gold builds, and ai_dbg_* only in Debug and Mixed ones.

Parameters ​

ParameterTypeDescription
commandstringConsole command name.

Returns ​

boolean

Whether the console knows the command.