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

x/typebox/src/custom/custom.ts>Custom.Set

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function Custom.Set
import { Custom } from "https://deno.land/x/typebox@0.25.20/src/custom/custom.ts";
const { Set } = Custom;

Sets a validation function for a user defined type

Type Parameters

optional
TSchema = unknown