hasCommand property

bool get hasCommand

True if the arguments have a first argument, which is the command argument.

Implementation

bool get hasCommand {
  return args.isNotEmpty;
}