Function isStringList

  • Check if given is a string representing a CronList.

    Example

    isStringList("value,value,value"); // true
    isStringList("value"); // false

    Returns

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

    Parameters

    • value: unknown

      Value to check.

    Returns value is string