node-cron-expression
Version:
Declarative functional crontab expression builder
12 lines (11 loc) • 296 B
TypeScript
import { Expression } from './expression';
/**
* Provide two time points of the same type
* to create a range
*
* ```
* between(atMinute(2), atMinute(20)); // 2-20 * * * *
* ```
*
*/
export declare function between<T extends Expression>(startExpression: T, endExpression: T): Expression;