# parseRecurrenceRule (@salmonui/scheduler)

> The parseRecurrenceRule function of @salmonui/scheduler: Parses an RRULE string (FREQ=WEEKLY;BYDAY=MO,WE, optionally prefixed RRULE:). Unsupported or invalid parts give an error result; it never throws.

Canonical: https://salmonui.dev/docs/reference/scheduler/parseRecurrenceRule

```ts
import { parseRecurrenceRule } from '@salmonui/scheduler';
```

Entry index: https://salmonui.dev/docs/reference/scheduler (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/scheduler.md).

## Reference

Kind: function

```ts
function parseRecurrenceRule(text: string): RecurrenceParseResult;
```

Parses an RRULE string (`FREQ=WEEKLY;BYDAY=MO,WE`, optionally prefixed
`RRULE:`). Unsupported or invalid parts give an error result; it never
throws.
