effect-io-ai

Package: effect
Module: Array

Array.join

Joins string elements with a separator.

Example (Joining strings)

import { Array } from "effect"

console.log(Array.join(["a", "b", "c"], "-")) // "a-b-c"

See

Signature

declare const join: { (sep: string): (self: Iterable<string>) => string; (self: Iterable<string>, sep: string): string; }

Source

Since v2.0.0