Module

x/cliffy/packages/flags/lib/flags.ts>isOption

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function isOption
import { isOption } from "https://dotland.deno.dev/x/cliffy@v0.11.1/packages/flags/lib/flags.ts";

Check if option has name or alias.

Parameters

option: IFlagOptions

The option to check.

name: string

The option name or alias.