Function isIterable

  • Returns whether the payload is an iterable (regular or async)

    Parameters

    • payload: unknown

    Returns payload is Iterable<unknown, any, any>