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

x/typebox/src/type/guard/value.ts>IsDate

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function IsDate
import { IsDate } from "https://deno.land/x/typebox@0.32.33/src/type/guard/value.ts";

Returns true if this value is a Date object

Parameters

value: unknown

Returns

value is Date