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

x/typebox/src/type/registry/type.ts>Set

Json Schema Type Builder with Static Type Resolution for TypeScript
Latest
function Set
import { Set } from "https://deno.land/x/typebox@0.34.0/src/type/registry/type.ts";

Sets a validation function for a user defined type

Type Parameters

optional
TSchema = unknown

Parameters

kind: string
func: TypeRegistryValidationFunction<TSchema>