Function isStringNearestDayOfMonth

  • Check if given is a string representing a CronNearestDayOfMonth.

    Example

    isStringNearestDayOfMonth("10W"); // true
    isStringNearestDayOfMonth("10w"); // true
    isStringNearestDayOfMonth("100w"); // false
    isStringNearestDayOfMonth("INVALID"); // false

    Returns

    Returns true if is a string representing a CronNearestDayOfMonth, false otherwise.

    Parameters

    • value: unknown

      Value to check.

    Returns value is string