Console
Functions
Section titled “Functions”isVanillaConsoleCommand()
Section titled “isVanillaConsoleCommand()”isVanillaConsoleCommand(
commandName):boolean
Defined in: packages/isaacscript-common/src/functions/console.ts:7
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
Section titled “Parameters”commandName
Section titled “commandName”string
Returns
Section titled “Returns”boolean
printEnabled()
Section titled “printEnabled()”printEnabled(
enabled,description):void
Defined in: packages/isaacscript-common/src/functions/console.ts:12
Helper function to print whether something was enabled or disabled to the in-game console.
Parameters
Section titled “Parameters”enabled
Section titled “enabled”boolean
description
Section titled “description”string
Returns
Section titled “Returns”void
