Skip to main content
Go to Latest
function util.guardAll
import { util } from "https://deno.land/x/embassyd_sdk@v0.3.4-rev0.lib0.alpha3/mod.ts";
const { guardAll } = util;

ConfigSpec: Tells the UI how to ask for information, verification, and will send the service a config in a shape via the spec. ValueSpecAny: This is any of the values in a config spec.

Use this when we want to convert a value spec any into a parser for what a config will look like

Type Parameters

A extends ValueSpecAny

Returns

matches.Parser<unknown, GuardAll<A>>