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

x/typebox/src/value/guard/guard.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.23/src/value/guard/guard.ts";

Returns true if this value is a Date

Parameters

value: unknown

Returns

value is Date