Module

x/cliffy/packages/flags/mod.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.12.0/packages/flags/mod.ts";

Check if option has name or alias.

Parameters

option: IFlagOptions

The option to check.

name: string

The option name or alias.