Syntax
Lua |
---|
function Shell.IsCommand(name); |
Parameters
- name
-
Type:
string
The name of the command to check for the existence of.
Returns
Type: booleanTrue 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.