Skip to main content
Module

x/args/index.ts>Result

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Go to Latest
type alias Result
import { type Result } from "https://deno.land/x/args@2.1.0/index.ts";

Type of result of a function that may fail

Type Parameters

Value

Type of value when the function succeeds

Error extends ParseError

Type of error when the function fails

definition: Ok<Value> | Err<Error>