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

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

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

Returns true if the given value is TInteger

Parameters

schema: unknown

Returns

schema is TInteger