UNPKG

@lou.codes/cron

Version:

⏲️ Cron Quartz and Cron UNIX expression parser

11 lines (10 loc) 321 B
import { LIST_EXPRESSION_SEPARATOR_TOKEN } from "./tokens.js"; /** * Predicate checking if given value is a {@link ListString}. * * @category Predicate * @see {@link ListString} * @see {@link LIST_EXPRESSION_SEPARATOR_TOKEN} */ export const isListString = value => value.includes(LIST_EXPRESSION_SEPARATOR_TOKEN);