method command.Command.prototype.hasCommandRe-exportimport { command } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts"; const { Command } = command; hasCommand(name: string, hidden?: boolean): booleanChecks whether a child command exists by given name or alias. Parametersname: stringName or alias of the command. optionalhidden: booleanInclude hidden commands. Returnsboolean