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

x/date_fns/isEqual/index.js>default

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

Examples

// Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? var result = isEqual( new Date(2014, 6, 2, 6, 30, 45, 0), new Date(2014, 6, 2, 6, 30, 45, 500) ) //=> false

Parameters

dirtyLeftDate
  • the first date to compare
dirtyRightDate
  • the second date to compare