Function isCronSteps

  • Check if given is CronSteps.

    Example

    isCronSteps({ every: 10, start: "value" }); // true
    isCronSteps({ every: "invalid" }); // false

    Returns

    Returns true if is CronSteps, false otherwise.

    Type Parameters

    • Value

    Parameters

    • value: unknown

      Value to check.

    Returns value is CronSteps<Value>