Function parseCronEvery

  • Parses a CronEvery into a string.

    Example

    parseCronEvery("*"); // "*"
    parseCronEvery("💩"); // undefined

    Returns

    A string or undefined if invalid.

    Parameters

    • source: string

      CronEvery to be parsed.

    Returns undefined | "*"