Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/typebox/src/typebox.ts>TypeGuard.TSchema

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function TypeGuard.TSchema
import { TypeGuard } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
const { TSchema } = TypeGuard;

Returns true if the given value is TSchema

Parameters

schema: unknown

Returns

schema is TSchema