hasCommand method

bool hasCommand(
  1. String name
)

Tells whether a command of specified name is added. Returns true if the command is added, otherwise false.

Implementation

bool hasCommand(String name) {
  return _commands.containsKey(name);
}