MCPcopy Create free account
hub / github.com/Effect-TS/effect / unsafeParse

Function unsafeParse

packages/effect/src/Cron.ts:384–385  ·  view source on GitHub ↗
(cron: string, tz?: DateTime.TimeZone | string)

Source from the content-addressed store, hash-verified

382 * @category constructors
383 */
384export const unsafeParse = (cron: string, tz?: DateTime.TimeZone | string): Cron =>
385 Either.getOrThrowWith(parse(cron, tz), identity)
386
387/**
388 * Checks if a given `Date` falls within an active `Cron` time window.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected