Module

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

Check if option has name or alias.

Parameters

option: IFlagOptions

The option to check.

name: string

The option name or alias.