Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/cliffy@0.12.1/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.