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

x/typebox_deno/src/typebox.ts>TypeGuard.TNull

JSON Schema Type Builder with Static Type Resolution for TypeScript
Latest
function TypeGuard.TNull
import { TypeGuard } from "https://deno.land/x/typebox_deno@0.31.22/src/typebox.ts";
const { TNull } = TypeGuard;

Returns true if the given value is TNull

Parameters

schema: unknown

Returns

schema is TNull