@sebgroup/frontend-tools
Version:
A set of frontend tools
9 lines (8 loc) • 320 B
TypeScript
/**
* Compare two dates and return true if the first date is the same as the second date ignoring the time.
*
* @param {Date} a The first date,
* @param {Date} b The second date
* @returns {boolean} True if date `a` is the same as date `b`
*/
export declare function isSameDate(a: Date, b: Date): boolean;