Skip to main content

Console

Functions

isVanillaConsoleCommand

isVanillaConsoleCommand(commandName): boolean

Helper function to see if a particular command is a vanilla console command. This is useful because the EXECUTE_CMD callback will not fire for any vanilla commands.

Parameters

NameType
commandNamestring

Returns

boolean

Defined in

packages/isaacscript-common/src/functions/console.ts:7


printEnabled

printEnabled(enabled, description): void

Helper function to print whether something was enabled or disabled to the in-game console.

Parameters

NameType
enabledboolean
descriptionstring

Returns

void

Defined in

packages/isaacscript-common/src/functions/console.ts:12