deno.land / std@0.139.0 / collections / join_to_string.ts

import * as mod from "https://deno.land/std@0.139.0/collections/join_to_string.ts";

Functions

joinToString

Transforms the elements in the given array to strings using the given selector. Joins the produced strings into one using the given separator and applying the given prefix and suffix to the whole string afterwards. If the array could be huge, you can specify a non-negative value of limit, in which case only the first limit elements will be appended, followed by the truncated string. Returns the resulting string.

Type Aliases

JoinToStringOptions

Options for joinToString

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago