Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/libpkgx/src/deps.ts>is_what.isDate

`import`… but with pkging powers
Very Popular
Latest
function is_what.isDate
import { is_what } from "https://deno.land/x/libpkgx@v0.19.1/src/deps.ts";
const { isDate } = is_what;

Returns whether the payload is a Date, and that the date is valid

Parameters

payload: any

Returns

payload is Date