Index | Collapse All Expand All

IsCommand Method
Shell Class Members See Also

Beta Documentation - Subject to change.
Test if the specified name is a registered shell command.

# Syntax

Lua
    function Shell.IsCommand(name);

#### Parameters

name
  Type: string
  The name of the command to check for the existence of.

#### Returns

Type: boolean
True if the command is registered.

# Remarks

This method can be used to see if a shell command already exists. Attempts to add a shell command when there is already a command registered will fail to register.

# See Also

- Shell
- Turbine