Function isStringWeekValue

  • Check if given is a string representing a CronWeekValue.

    Example

    isStringWeekValue("2"); // true
    isStringWeekValue("8"); // false

    Returns

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

    Parameters

    • value: unknown

      Value to check.

    Returns value is string