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

x/typebox/src/typebox.ts>TypeGuard

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
namespace TypeGuard
import { TypeGuard } from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";

Functions

Returns true if the given schema is TAny

Returns true if the given schema is TArray

Returns true if the given schema is TSymbol

Returns true if the given schema is TBoolean

Returns true if the given schema is TConstructor

Returns true if the given schema is TDate

Returns true if the given schema is TFunction

Returns true if the given schema is TInteger

Returns true if the given schema is TIntersect

Returns true if the given schema is TKind

Returns true if the given schema is TLiteral

Returns true if the given schema is TNever

Returns true if the given schema is TNot

Returns true if the given schema is TNull

Returns true if the given schema is TNumber

Returns true if the given schema is TObject

Returns true if this schema has the Optional modifier

Returns true if the given schema is TPromise

Returns true if this schema has the Readonly modifier

Returns true if this schema has the ReadonlyOptional modifier

Returns true if the given schema is TRecord

Returns true if the given schema is TRef

Returns true if the given schema is TSchema

Returns true if the given schema is TSelf

Returns true if the given schema is TString

Returns true if the given schema is TSymbol

Returns true if the given schema is TTuple

Returns true if the given schema is TUint8Array

Returns true if the given schema is TUndefined

Returns true if the given schema is TUnion

Returns true if the given schema is TUnion<Literal[]>

Returns true if the given schema is TUnknown

Returns true if the given schema is TVoid