@dialstack/sdk-dev / js/src / portingHoliday
Function: portingHoliday()
TypeScript
function portingHoliday(date, country): string | null;
Defined in: sdk/js/src/utils/porting-holidays.ts:144
The name of the porting holiday on a date for a port of country's
numbers, or null when the carrier ports that day (weekends aside). date
is a calendar date, YYYY-MM-DD.
Parameters
date
string
country
Returns
string | null