Skip to main content
Module

x/date_fns/index.js>isAfter

date-fns Deno package
Very Popular
Go to Latest
function isAfter
import { isAfter } from "https://deno.land/x/date_fns@v2.1.0/index.js";

Examples

// Is 10 July 1989 after 11 February 1987? var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) //=> true

Parameters

dirtyDate
  • the date that should be after the other one to return true
dirtyDateToCompare
  • the date to compare with