Function concat

  • Concatenates all iterable sequences in the given sequences, as long as the previous iterable sequence terminated successfully.

    Type Parameters

    • T

      The type of the elements in the sequences.

    Parameters

    • v1: Iterable<T>

    Returns Iterable<T>

    An iterable sequence that contains the elements of each given sequence, in sequential order.

  • Concatenates the second iterable sequence to the first iterable sequence upon successful termination of the first.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    Parameters

    • v1: Iterable<T>

      First iterable source.

    • v2: Iterable<T2>

      Second iterable source.

    Returns Iterable<T | T2>

    An iterable sequence that contains the elements of the first sequence, followed by those of the second the sequence.

  • Concatenates all iterable sequences in the given sequences, as long as the previous iterable sequence terminated successfully.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    Parameters

    • v1: Iterable<T>

      First iterable source.

    • v2: Iterable<T2>

      Second iterable source.

    • v3: Iterable<T3>

      Third iterable source.

    Returns Iterable<T | T2 | T3>

    An iterable sequence that contains the elements of each given sequence, in sequential order.

  • Concatenates all iterable sequences in the given sequences, as long as the previous iterable sequence terminated successfully.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    Parameters

    • v1: Iterable<T>

      First iterable source.

    • v2: Iterable<T2>

      Second iterable source.

    • v3: Iterable<T3>

      Third iterable source.

    • v4: Iterable<T4>

      Fourth iterable source.

    Returns Iterable<T | T2 | T3 | T4>

    An iterable sequence that contains the elements of each given sequence, in sequential order.

  • Concatenates all iterable sequences in the given sequences, as long as the previous iterable sequence terminated successfully.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    • T5

      The type of the elements in the fifth source sequence.

    Parameters

    • v1: Iterable<T>

      First iterable source.

    • v2: Iterable<T2>

      Second iterable source.

    • v3: Iterable<T3>

      Third iterable source.

    • v4: Iterable<T4>

      Fourth iterable source.

    • v5: Iterable<T5>

      Fifth iterable source.

    Returns Iterable<T | T2 | T3 | T4 | T5>

    An iterable sequence that contains the elements of each given sequence, in sequential order.

  • Concatenates all iterable sequences in the given sequences, as long as the previous iterable sequence terminated successfully.

    Type Parameters

    • T

      The type of the elements in the first source sequence.

    • T2

      The type of the elements in the second source sequence.

    • T3

      The type of the elements in the third source sequence.

    • T4

      The type of the elements in the fourth source sequence.

    • T5

      The type of the elements in the fifth source sequence.

    • T6

      The type of the elements in the sixth source sequence.

    Parameters

    • v1: Iterable<T>

      First iterable source.

    • v2: Iterable<T2>

      Second iterable source.

    • v3: Iterable<T3>

      Third iterable source.

    • v4: Iterable<T4>

      Fourth iterable source.

    • v5: Iterable<T5>

      Fifth iterable source.

    • v6: Iterable<T6>

      Sixth iterable source.

    Returns Iterable<T | T2 | T3 | T4 | T5 | T6>

    An iterable sequence that contains the elements of each given sequence, in sequential order.

Generated using TypeDoc