Package: effect
Module: Array
Joins the elements together with “sep” in the middle.
Example
import { Array } from "effect"
const strings = ["a", "b", "c"]
const joined = Array.join(strings, "-")
console.log(joined) // "a-b-c"
Signature
declare const join: { (sep: string): (self: Iterable<string>) => string; (self: Iterable<string>, sep: string): string; }
Since v2.0.0