• Takes a separator string and a iterable or asynchronous iterable and returns a string with the concatenation of all the elements separated by the separator.


    const joinWithSpaces = join(" ");
    joinWithSpaces([1, 2, 3]); // "1 2 3"


    • separator: string

      String to use as separator.

    Returns (<Iterable>(iterable) => ReducerOutput<Iterable, string>)

    Curried function with separator in context.

      • <Iterable>(iterable): ReducerOutput<Iterable, string>
      • Type Parameters

        • Iterable extends IsomorphicIterable


        • iterable: Iterable

        Returns ReducerOutput<Iterable, string>