UNPKG

@lou.codes/cron

Version:

⏲️ Cron Quartz and Cron UNIX expression parser

17 lines (16 loc) 402 B
/** * Matches only valid number values for a cron expression (from `0` or `00` to * `59`). * * @category Cron String * @example * ```typescript * parseNumberMatch("13"); // true * parseNumberMatch("05"); // true * parseNumberMatch("60"); // false * parseNumberMatch("foo"); // false * ``` * * @see {@link paddedRegExp} */ export declare const parseNumberMatch: (text: string) => boolean;