Skip to main content
Module

x/leaves/mod.ts>validator.minDate

A Web framework For Deno with Decorator and middleware
Latest
function validator.minDate
import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { minDate } = validator;

Checks if the value is a date that's after the specified date.

Parameters

date: unknown
minDate: Date

Returns

boolean