UNPKG

@sebgroup/frontend-tools

Version:
9 lines (8 loc) 318 B
/** * 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;