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

Function parseUnsafe

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

Source from the content-addressed store, hash-verified

611 * @since 4.0.0
612 */
613export const parseUnsafe = (cron: string, tz?: DateTime.TimeZone | string): Cron => Result.getOrThrow(parse(cron, tz))
614
615/**
616 * Formats a `Cron` instance as a cron expression.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected