Skip to content

Function.join

github-actions[bot] edited this page Nov 18, 2026 · 4 revisions

umt / join

Function: join()

join(separator?): (array) => string

Defined in: Pipe/join.ts:10

Creates a pipe operator that joins array elements into a string

Parameters

separator?

string

The string placed between elements, "," when omitted

Returns

An operator that returns the joined string

(array) => string

Example

pipe(["a", "b", "c"], join("-")); // "a-b-c"
pipe(["a", "b", "c"], join()); // "a,b,c"

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally