Function parseCronNearestDayOfMonth

  • Parses CronNearestDayOfMonth into a string.

    Example

    parseCronNearestDayOfMonth({ nearest: 2 }); // "2W"
    parseCronNearestDayOfMonth({ nearest: 99 }); // undefined

    Returns

    A string or undefined if invalid.

    Parameters

    Returns undefined | string