Skip to main content
variable isSameDate
import { isSameDate } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Check if a date is the same as another date.

Use Date.prototype.toISOString() and strict equality checking (===) to check if the first date is the same as the second one.

type

(dateA: Date, dateB: Date) => unknown