Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 847 Bytes

polyethylene.polyasynciterable.join.md

File metadata and controls

30 lines (17 loc) · 847 Bytes

Home > polyethylene > PolyAsyncIterable > join

PolyAsyncIterable.join() method

Return the result of joining the elements of this with the given glue, or ',' if no glue is given.

Signature:

join(glue?: string): Promise<string>;

Parameters

Parameter Type Description
glue string The string to use for joining the elements

Returns:

Promise<string>

A promise to a string concatenating all elements of this using the given glue

Remarks

null or undefined elements are treated as empty strings.