UNPKG

di-shan-utils

Version:

JavaScript 函数库、工具类

17 lines (14 loc) 466 B
/** * 判断两个日期是否相同 * @param date1 日期 * @param date2 日期 * @param format 对比格式 */ export declare function isDateSame(date1: Date | number | string, date2: Date | number | string, format?: string | null): boolean; export declare function isDateSame(date1: any, date2: any, format?: string | null): boolean; declare module './ctor' { interface DIUtilsMethods { isDateSame: typeof isDateSame; } } export default isDateSame