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