Skip to main content

@coven/cron@0.3.3
Built and signed on GitHub Actions

⏳ Fantastic cron parser and constructor.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (0.3.3)
Package root>isListString.ts
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;