Skip to main content
Module

x/cliffy/mod.ts>GenericPrompt#isKey

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method GenericPrompt.prototype.isKey
Re-export
import { GenericPrompt } from "https://deno.land/x/cliffy@v0.11.2/mod.ts";

Type Parameters

K extends any
N extends keyof K

Parameters

keys: K | undefined
name: N
event: KeyEvent

Returns

boolean