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

Function parseUnsafe

packages/effect/src/Cron.ts:686–688  ·  view source on GitHub ↗
(cron: string, tz?: DateTime.TimeZone | string, options?: {
  readonly onDstOverlap?: DstOverlapPolicy | undefined
})

Source from the content-addressed store, hash-verified

684 * @since 4.0.0
685 */
686export const parseUnsafe = (cron: string, tz?: DateTime.TimeZone | string, options?: {
687 readonly onDstOverlap?: DstOverlapPolicy | undefined
688}): Cron => Result.getOrThrow(parse(cron, tz, options))
689
690/**
691 * Formats a `Cron` instance as a cron expression.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected