method GenericPrompt.prototype.isKeyimport { GenericPrompt } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts"; isKey<TKey extends unknown, TName extends keyof TKey>(keys: TKey | undefined,name: TName,event: KeyCode,): booleanCheck if key event has given name or sequence. Type ParametersTKey extends unknownTName extends keyof TKeyParameterskeys: TKey | undefinedKey map. name: TNameKey name. event: KeyCodeKey event. Returnsboolean