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
| Parameter | Type | Description |
|---|---|---|
command | string | Console command name. |
Returns
boolean
Whether the console knows the command.