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.

9 lines (8 loc) 271 B
/** * Finds the next business day after a given date, skipping weekends and holidays. * @author @dailker * @param {Date} date * @param {Date[]} [holidays=[]] * @returns {Date} */ export declare function nextBusinessDay(date: Date, holidays?: Date[]): Date;