Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/args/index.ts>types.Ok

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

Success variant of Result

Type Parameters

Value

Type of value

Properties

readonly
tag: true

Discriminant

readonly
value: Value

Value

readonly
optional
error: null

Error