Function isStringSteps

  • Check if given is a string representing a CronSteps.

    Example

    isStringSteps("value/value"); // true
    isStringSteps("value/value/value"); // false
    isStringSteps("value"); // false

    Returns

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

    Parameters

    • value: unknown

      Value to check.

    Returns value is string