Module

x/jtd_type/mod.ts>Forms.Values

A Novel implementation of JTD (RFC 8927) in typescript
Latest
function Forms.Values
import { Forms } from "https://dotland.deno.dev/x/jtd_type@2.2.0/mod.ts";
const { Values } = Forms;

Creates a values schema (key/value, pairs with string keys)

Type Parameters

V extends JtdSchema
optional
O extends JtdShared = { nullable: undefined; metadata: undefined; }

Parameters

values: V

The value Type

optional
opts: Narrow<O>

Options for the schema