Function isCronYearValue

  • Check if given is CronYearValue.

    Example

    isCronYearValue(1989); // true
    isCronYearValue(3000); // false

    Returns

    Returns true if is CronYearValue, false otherwise.

    Parameters

    • value: unknown

      Value to check.

    Returns value is CronYearValue