method Context.prototype.hasCommandimport { Context } from "https://deno.land/x/grammy@v1.27.0/context.ts"; hasCommand(command: MaybeArray<StringWithCommandSuggestions>): this is CommandContextCoreReturns true if this context object contains the given command, and false otherwise. This uses the same logic as bot.command. Parameterscommand: MaybeArray<StringWithCommandSuggestions>The command to match Returnsthis is CommandContextCore