Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/argon2/cli/deps.ts>Command#hasOption

Argon2 encryption library for Deno
Latest
method Command.prototype.hasOption
Re-export
import { Command } from "https://deno.land/x/argon2@v0.9.2/cli/deps.ts";

Checks whether the command has an option with given name or not.

Parameters

name: string

Name of the option. Must be in param-case.

optional
hidden: boolean

Include hidden options.

Returns

boolean