Function isStringHoursValue

  • Check if given is a string representing a CronHoursValue.

    Example

    isStringHoursValue("12"); // true
    isStringHoursValue("50"); // false

    Returns

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

    Parameters

    • value: unknown

      Value to check.

    Returns value is string