Function isCronWeekValue

  • Check if given is CronWeekValue.

    Example

    isCronWeekValue(2); // true
    isCronWeekValue(8); // false

    Returns

    Returns true if is CronWeekValue, false otherwise.

    Parameters

    • value: unknown

      Value to check.

    Returns value is CronWeekValue