Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
⏳ Fantastic cron parser and constructor.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
100%
Published
2 months ago (0.3.3)
import { includes } from "jsr:@coven/iterables@^0.3.3"; import type { ListString } from "./ListString.ts"; import { LIST_EXPRESSION_SEPARATOR_TOKEN } from "./tokens.ts"; /** * Predicate checking if given value is a {@linkcode ListString}. * * @see {@linkcode ListString} * @see {@linkcode LIST_EXPRESSION_SEPARATOR_TOKEN} */ export const isListString = includes( LIST_EXPRESSION_SEPARATOR_TOKEN, ) as (value: Iterable<unknown>) => value is ListString;