Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/feomasto/priv/deps.ts>args.ValueType

Sync posts from Mastodon into FeoBlog
Go to Latest
interface args.ValueType
Re-export
import { type args } from "https://deno.land/x/feomasto@v0.1.0/priv/deps.ts";
const { ValueType } = args;

Interface of a value type

Type Parameters

Value

Type of value (output)

Raw extends readonly string[]

Type of argument tuple (input)

Properties

readonly
[[Symbol.toStringTag]]: string

Class name

Methods

extract(raw: Raw): Result<Value, ValueError>

Convert an array of raw arguments to value of the type

getTypeName(): string

Type name to display in console.log

optional
help(): string

Extra help messages