node-cron-expression
Version:
Declarative functional crontab expression builder
15 lines (14 loc) • 386 B
TypeScript
import { MonthExpression } from './expression';
/**
* In specific month or multiple specific months
*
* ```
* inMonth(3); // * * * 3 *
* inMonth([3,5]); // * * * 3,5 *
*
* inMonth('January'); // * * * 1 *
* inMonth(['January', 'December']); // * * * 1,12 *
* ```
*
*/
export declare const inMonth: (month: Month | Month[] | MonthLiteral | MonthLiteral[]) => MonthExpression;