UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

10 lines (9 loc) 277 B
/** * Counts business days between two dates. * @author @dailker * @param {Date} start * @param {Date} end * @param {Date[]} [holidays=[]] * @returns {number} */ export declare function dateDiffInBusinessDays(start: Date, end: Date, holidays?: Date[]): number;