method GenericPrompt.prototype.isKeyimport { GenericPrompt } from "https://dotland.deno.dev/x/cliffy@v0.22.2/prompt/mod.ts"; isKey<K extends unknown, N extends keyof K>(keys: K | undefined,name: N,event: KeyCode,): booleanCheck if key event has given name or sequence. Type ParametersK extends unknownN extends keyof KParameterskeys: K | undefinedKey map. name: NKey name. event: KeyCodeKey event. Returnsboolean